From 53b2ff052e3a164154d4ee17f189b213e4600ecb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 31 Jan 2010 18:43:34 +0100 Subject: fix nfs server stuff If you need ipv6, you should choose TIRPC flavour. This will install rpcbind, which is similar to portmap. For ipv4 only you can just use nfs-utils without TIRPC and portmap will be installed. Fix some kernel module dependencies. Add a new package rpcbind. --- target/Config.in | 43 +++++++++++++++++++++++++++++-------- target/linux/config/Config.in.fsnet | 10 ++++++++- 2 files changed, 43 insertions(+), 10 deletions(-) (limited to 'target') diff --git a/target/Config.in b/target/Config.in index cf229eb84..44d6a4465 100644 --- a/target/Config.in +++ b/target/Config.in @@ -831,6 +831,33 @@ config ADK_TARGET_INITRAMFS_COMPRESSION_LZMA endchoice +choice +prompt "Compression method for Kernel" + depends on ADK_LINUX_QEMU || ADK_LINUX_ALIX + +config ADK_TARGET_KERNEL_COMPRESSION_GZIP + boolean + prompt "gzip" + select ADK_KERNEL_KERNEL_GZIP + help + Select gzip compression for Kernel. + +config ADK_TARGET_KERNEL_COMPRESSION_BZIP2 + boolean + prompt "bzip2" + select ADK_KERNEL_KERNEL_BZIP2 + help + Select BZIP2 compression for Kernel. + +config ADK_TARGET_KERNEL_COMPRESSION_LZMA + boolean + prompt "lzma" + select ADK_KERNEL_KERNEL_LZMA + help + Select LZMA compression for Kernel. + +endchoice + config ADK_COMPRESSION_TOOL string default "gzip -n9" if ADK_TARGET_INITRAMFS_COMPRESSION_GZIP @@ -838,7 +865,6 @@ config ADK_COMPRESSION_TOOL default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA help - choice prompt "Root filesystem type" depends on ADK_TARGET_ROOTFS_ARCHIVE @@ -886,7 +912,7 @@ config ADK_PACKAGE_SUFFIX string default "ipk" if ADK_TARGET_PACKAGE_IPKG default "tar.gz" if ADK_TARGET_PACKAGE_TGZ - default "rpm" if ADK_TARGET_PACKAGE_RPM +# default "rpm" if ADK_TARGET_PACKAGE_RPM help choice @@ -910,13 +936,12 @@ config ADK_TARGET_PACKAGE_TGZ directory. There will be no package manager installed onto the target. -config ADK_TARGET_PACKAGE_RPM - boolean - prompt "rpm package format" - help - Create rpm packages and use rpm package management on the - target. WARNING: NOT YET IMPLEMENTED +#config ADK_TARGET_PACKAGE_RPM +# boolean +# prompt "rpm package format" +# help +# Create rpm packages and use rpm package management on the +# target. WARNING: NOT YET IMPLEMENTED endchoice - endmenu diff --git a/target/linux/config/Config.in.fsnet b/target/linux/config/Config.in.fsnet index f87aeb9db..1db9d72b6 100644 --- a/target/linux/config/Config.in.fsnet +++ b/target/linux/config/Config.in.fsnet @@ -49,6 +49,7 @@ config ADK_KPACKAGE_KMOD_NFS_FS default n select ADK_KERNEL_NFS_V3 select ADK_KPACKAGE_KMOD_SUNRPC + select ADK_KPACKAGE_KMOD_LOCKD depends on !ADK_TARGET_ROOTFS_NFSROOT help If you are connected to some other (usually local) Unix computer @@ -94,7 +95,8 @@ config ADK_KPACKAGE_KMOD_NFSD default n select ADK_KPACKAGE_KMOD_EXPORTFS if !ADK_KERNEL_EXPORTFS select ADK_KERNEL_NFSD_V3 - depends on ADK_KPACKAGE_KMOD_NFS_FS + select ADK_KPACKAGE_KMOD_SUNRPC + select ADK_KPACKAGE_KMOD_LOCKD help If you want your Linux box to act as an NFS *server*, so that other computers on your local network which support NFS can access certain @@ -126,14 +128,20 @@ config ADK_KERNEL_NFSD_V4 help NFSv4 with Kerberos authentication. +config ADK_KPACKAGE_KMOD_LOCKD + tristate + default n + config ADK_KPACKAGE_KMOD_SUNRPC tristate default n config ADK_KPACKAGE_KMOD_SUNRPC_GSS tristate + select ADK_KPACKAGE_KMOD_SUNRPC default n config ADK_KPACKAGE_KMOD_RPCSEC_GSS_KRB5 tristate + select ADK_KPACKAGE_KMOD_SUNRPC_GSS default n -- cgit v1.2.3