From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-984067-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5B2201396D9
	for <garchives@archives.gentoo.org>; Wed, 15 Nov 2017 03:16:22 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 78510E0DFE;
	Wed, 15 Nov 2017 03:16:21 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 52205E0DFE
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Nov 2017 03:16:21 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 732BA33BE18
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Nov 2017 03:16:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DC4969AF4
	for <gentoo-commits@lists.gentoo.org>; Wed, 15 Nov 2017 03:16:17 +0000 (UTC)
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" <robbat2@gentoo.org>
Message-ID: <1510715700.e2b9b516f9f5c9b31a6b9309e85a82036900c66d.robbat2@gentoo>
Subject: [gentoo-commits] proj/genkernel:master commit in: /
X-VCS-Repository: proj/genkernel
X-VCS-Files: gen_compile.sh
X-VCS-Directories: /
X-VCS-Committer: robbat2
X-VCS-Committer-Name: Robin H. Johnson
X-VCS-Revision: e2b9b516f9f5c9b31a6b9309e85a82036900c66d
X-VCS-Branch: master
Date: Wed, 15 Nov 2017 03:16:17 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: f8db115e-2ae0-4e22-8971-1546b82cc92e
X-Archives-Hash: c4c35a39edd7ee40cf887e9bdd281eb9

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