summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-31 18:43:34 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-31 18:43:34 +0100
commit53b2ff052e3a164154d4ee17f189b213e4600ecb (patch)
tree876b66d8afcdb3e83ec5f4cac90721c32fabcd07 /target
parent69f8e5c7f61a46b79a3a75036d8cfe86830023c1 (diff)
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.
Diffstat (limited to 'target')
-rw-r--r--target/Config.in43
-rw-r--r--target/linux/config/Config.in.fsnet10
2 files changed, 43 insertions, 10 deletions
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