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
Hello,

Due to the changes in glibc-2.14 busybox no longer compiles when NFS
support is enabled.  This breaks genkernel.  The following is a very
crude patch to just make things work on glibc-2.14 systems.  A better
patch would be to detect glibc-2.14 and then make a config decision.
The best patch would be to port libtirpc to openssl, make busybox link
against libtirpc, restore NFS support, and put an end to this whole
mess.  But in the meantime:


commit 80d1e89995f055a37f07f9f7f4c7e21660abd527
Author: Borg Onion <borg.onion@×××××.com>
Date:   Sat Dec 3 18:02:48 2011 -0800

    Disable NFS support to enable glibc-2.14 compatibility

diff --git a/arch/um/busy-config b/arch/um/busy-config
index e45de93..c543820 100644
--- a/arch/um/busy-config
+++ b/arch/um/busy-config
@@ -384,7 +384,7 @@ CONFIG_SWITCH_ROOT=y
 CONFIG_RDATE=y
 CONFIG_SWAPONOFF=y
 CONFIG_MOUNT=y
-CONFIG_NFSMOUNT=y
+CONFIG_NFSMOUNT=n
 CONFIG_UMOUNT=y
 # CONFIG_FEATURE_MOUNT_FORCE is not set

diff --git a/defaults/busy-config b/defaults/busy-config
index 51fdc8e..a1f6858 100644
--- a/defaults/busy-config
+++ b/defaults/busy-config
@@ -462,7 +462,7 @@ CONFIG_MDSTART=y
 CONFIG_MORE=y
 CONFIG_FEATURE_USE_TERMIOS=y
 CONFIG_MOUNT=y
-CONFIG_FEATURE_MOUNT_NFS=y
+CONFIG_FEATURE_MOUNT_NFS=n
 # CONFIG_FEATURE_MOUNT_CIFS is not set
 CONFIG_FEATURE_MOUNT_FLAGS=y
 CONFIG_FEATURE_MOUNT_FSTAB=y
diff --git a/netboot/busy-config b/netboot/busy-config
index 2aa4804..d4b9e29 100644
--- a/netboot/busy-config
+++ b/netboot/busy-config
@@ -474,7 +474,7 @@ CONFIG_MKSWAP=y
 CONFIG_MORE=y
 CONFIG_FEATURE_USE_TERMIOS=y
 CONFIG_MOUNT=y
-CONFIG_FEATURE_MOUNT_NFS=y
+CONFIG_FEATURE_MOUNT_NFS=n
 CONFIG_FEATURE_MOUNT_CIFS=y
 CONFIG_FEATURE_MOUNT_FLAGS=y
 CONFIG_FEATURE_MOUNT_FSTAB=y


-- 
--Borg Onion

Replies

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