commit:     e2b9b516f9f5c9b31a6b9309e85a82036900c66d
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 15 03:15:00 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Nov 15 03:15:00 2017 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=e2b9b516

gen_compile: avoid busybox CONFIG_FEATURE_MOUNT_NFS due to libtirpc

With glibc switching to rpc via libtirpc, we cannot be sure that the
user has libtirpc.

Additionally, it looks like it might be be required since the 2.6.36
kernel so let's just disable it for now.

Bug: https://bugs.gentoo.org/637446
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 gen_compile.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gen_compile.sh b/gen_compile.sh
index 1cd1ebf..3bb8051 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -428,10 +428,11 @@ compile_busybox() {
        # Apply config-based tweaks to the busybox config.
        # This needs to be done before cache validation.
        cp "${BUSYBOX_CONFIG}" "${TEMP}/busybox-config"
-       if isTrue "${NFS}"
-       then
-               kconfig_set_opt "${TEMP}/busybox-config" 
CONFIG_FEATURE_MOUNT_NFS y
-       fi
+
+       # If you want mount.nfs to work on older than 2.6.something, you might 
need to turn this on.
+       #isTrue "${NFS}" && nfs_opt='y'
+       nfs_opt='n'
+       kconfig_set_opt "${TEMP}/busybox-config" CONFIG_FEATURE_MOUNT_NFS 
$nfs_opt
 
        # Delete cache if stored config's MD5 does not match one to be used
        # This exactly just the .config.gk_orig file, and compares it again the

Reply via email to