11477df6b1
nfs-utils 2.6.2 adds nfsrahead tool to set readahead through sysfs, but this tool is mandatory and requires libmount that in order requires libblkid. Also we need a local patch that is already pending upstream to avoid failing static linking: https://patchwork.kernel.org/project/linux-nfs/patch/20220809223308.1421081-1-giulio.benetti@benettiengineering.com/ So let's select: - BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - BR2_PACKAGE_UTIL_LINUX_LIBBLKID and add the pending patch for fixing static linking failure due to wrong order of libraries in linker list(-lblkid must follow -lmount). This is achieved by using pkg-config that is already a dependency of this package. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
comment "nfs-utils needs a toolchain w/ threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_NFS_UTILS
|
|
bool "nfs-utils"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
|
|
depends on BR2_USE_MMU # fork()
|
|
select BR2_PACKAGE_LIBTIRPC # IPv6 requires libtirpc
|
|
select BR2_PACKAGE_UTIL_LINUX
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
|
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
|
help
|
|
The NFS Linux kernel server.
|
|
|
|
Supports NFSv3 and optionally NFSv4 (and later).
|
|
|
|
http://linux-nfs.org/
|
|
|
|
if BR2_PACKAGE_NFS_UTILS
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_NFSV4
|
|
bool "NFSv4/NFSv4.1"
|
|
depends on !BR2_STATIC_LIBS # keyutils, lvm2
|
|
select BR2_PACKAGE_KEYUTILS
|
|
select BR2_PACKAGE_LIBEVENT
|
|
select BR2_PACKAGE_LVM2
|
|
select BR2_PACKAGE_SQLITE
|
|
help
|
|
Enable NFSv4/NFSv4.1/NFSv4.2 support
|
|
|
|
comment "NFSv4/NFSv4.1 support needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_GSS
|
|
bool "gss"
|
|
depends on BR2_PACKAGE_NFS_UTILS_NFSV4
|
|
select BR2_PACKAGE_LIBTIRPC_GSS
|
|
help
|
|
Enable GSS support
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_RPCDEBUG
|
|
bool "rpcdebug"
|
|
help
|
|
The RPC debugging utility
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_RPC_LOCKD
|
|
bool "rpc.lockd"
|
|
help
|
|
NFS lock manager for Linux kernels older than 2.4
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_RPC_NFSD
|
|
bool "rpc.nfsd"
|
|
default y
|
|
select BR2_PACKAGE_RPCBIND # runtime
|
|
help
|
|
NFS server
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD
|
|
bool "rpc.rquotad"
|
|
help
|
|
NFS remote quota server
|
|
|
|
endif
|