Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Wed, 15 Nov 2017 03:16:22
Message-Id: 1510715700.e2b9b516f9f5c9b31a6b9309e85a82036900c66d.robbat2@gentoo
1 commit: e2b9b516f9f5c9b31a6b9309e85a82036900c66d
2 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 15 03:15:00 2017 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 15 03:15:00 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=e2b9b516
7
8 gen_compile: avoid busybox CONFIG_FEATURE_MOUNT_NFS due to libtirpc
9
10 With glibc switching to rpc via libtirpc, we cannot be sure that the
11 user has libtirpc.
12
13 Additionally, it looks like it might be be required since the 2.6.36
14 kernel so let's just disable it for now.
15
16 Bug: https://bugs.gentoo.org/637446
17 Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
18
19 gen_compile.sh | 9 +++++----
20 1 file changed, 5 insertions(+), 4 deletions(-)
21
22 diff --git a/gen_compile.sh b/gen_compile.sh
23 index 1cd1ebf..3bb8051 100755
24 --- a/gen_compile.sh
25 +++ b/gen_compile.sh
26 @@ -428,10 +428,11 @@ compile_busybox() {
27 # Apply config-based tweaks to the busybox config.
28 # This needs to be done before cache validation.
29 cp "${BUSYBOX_CONFIG}" "${TEMP}/busybox-config"
30 - if isTrue "${NFS}"
31 - then
32 - kconfig_set_opt "${TEMP}/busybox-config" CONFIG_FEATURE_MOUNT_NFS y
33 - fi
34 +
35 + # If you want mount.nfs to work on older than 2.6.something, you might need to turn this on.
36 + #isTrue "${NFS}" && nfs_opt='y'
37 + nfs_opt='n'
38 + kconfig_set_opt "${TEMP}/busybox-config" CONFIG_FEATURE_MOUNT_NFS $nfs_opt
39
40 # Delete cache if stored config's MD5 does not match one to be used
41 # This exactly just the .config.gk_orig file, and compares it again the