Gentoo Archives: gentoo-genkernel

From: Borg Onion <borg.onion@×××××.com>
To: gentoo-genkernel@l.g.o
Subject: [gentoo-genkernel] Support for glibc-2.14 systems
Date: Mon, 05 Dec 2011 00:11:52
Message-Id: CAAs5ODsEjnGHJVNXseoikts_wg=6Kch_QKtMPd0NM9ZMYadWqQ@mail.gmail.com
1 Hello,
2
3 Due to the changes in glibc-2.14 busybox no longer compiles when NFS
4 support is enabled. This breaks genkernel. The following is a very
5 crude patch to just make things work on glibc-2.14 systems. A better
6 patch would be to detect glibc-2.14 and then make a config decision.
7 The best patch would be to port libtirpc to openssl, make busybox link
8 against libtirpc, restore NFS support, and put an end to this whole
9 mess. But in the meantime:
10
11
12 commit 80d1e89995f055a37f07f9f7f4c7e21660abd527
13 Author: Borg Onion <borg.onion@×××××.com>
14 Date: Sat Dec 3 18:02:48 2011 -0800
15
16 Disable NFS support to enable glibc-2.14 compatibility
17
18 diff --git a/arch/um/busy-config b/arch/um/busy-config
19 index e45de93..c543820 100644
20 --- a/arch/um/busy-config
21 +++ b/arch/um/busy-config
22 @@ -384,7 +384,7 @@ CONFIG_SWITCH_ROOT=y
23 CONFIG_RDATE=y
24 CONFIG_SWAPONOFF=y
25 CONFIG_MOUNT=y
26 -CONFIG_NFSMOUNT=y
27 +CONFIG_NFSMOUNT=n
28 CONFIG_UMOUNT=y
29 # CONFIG_FEATURE_MOUNT_FORCE is not set
30
31 diff --git a/defaults/busy-config b/defaults/busy-config
32 index 51fdc8e..a1f6858 100644
33 --- a/defaults/busy-config
34 +++ b/defaults/busy-config
35 @@ -462,7 +462,7 @@ CONFIG_MDSTART=y
36 CONFIG_MORE=y
37 CONFIG_FEATURE_USE_TERMIOS=y
38 CONFIG_MOUNT=y
39 -CONFIG_FEATURE_MOUNT_NFS=y
40 +CONFIG_FEATURE_MOUNT_NFS=n
41 # CONFIG_FEATURE_MOUNT_CIFS is not set
42 CONFIG_FEATURE_MOUNT_FLAGS=y
43 CONFIG_FEATURE_MOUNT_FSTAB=y
44 diff --git a/netboot/busy-config b/netboot/busy-config
45 index 2aa4804..d4b9e29 100644
46 --- a/netboot/busy-config
47 +++ b/netboot/busy-config
48 @@ -474,7 +474,7 @@ CONFIG_MKSWAP=y
49 CONFIG_MORE=y
50 CONFIG_FEATURE_USE_TERMIOS=y
51 CONFIG_MOUNT=y
52 -CONFIG_FEATURE_MOUNT_NFS=y
53 +CONFIG_FEATURE_MOUNT_NFS=n
54 CONFIG_FEATURE_MOUNT_CIFS=y
55 CONFIG_FEATURE_MOUNT_FLAGS=y
56 CONFIG_FEATURE_MOUNT_FSTAB=y
57
58
59 --
60 --Borg Onion

Replies

Subject Author
Re: [gentoo-genkernel] Support for glibc-2.14 systems Sebastian Pipping <sping@g.o>