aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-11-14 19:15:00 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-14 19:15:00 -0800
commite2b9b516f9f5c9b31a6b9309e85a82036900c66d (patch)
treeba91cd2292939a57c8ca2e535b1b2adb2962274f
parentmodules_load: sync MODULES_FS, add f2fs (diff)
downloadgenkernel-e2b9b516.tar.gz
genkernel-e2b9b516.tar.bz2
genkernel-e2b9b516.zip
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@gentoo.org>
-rwxr-xr-xgen_compile.sh9
1 files 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