From patchwork Mon Jul 13 23:34:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Barnett X-Patchwork-Id: 494822 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 007A314076C for ; Tue, 14 Jul 2015 09:34:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3D79C91886; Mon, 13 Jul 2015 23:34:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EfhXARIxLQl6; Mon, 13 Jul 2015 23:34:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 8B10D910C8; Mon, 13 Jul 2015 23:34:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 6627C1C209F for ; Mon, 13 Jul 2015 23:34:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 6350D32B10 for ; Mon, 13 Jul 2015 23:34:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P20nfzFS0Phe for ; Mon, 13 Jul 2015 23:34:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ch3vs01.rockwellcollins.com (ch3vs01.rockwellcollins.com [205.175.226.27]) by silver.osuosl.org (Postfix) with ESMTPS id 674EF329C6 for ; Mon, 13 Jul 2015 23:34:27 +0000 (UTC) Received: from ofwch3n02.rockwellcollins.com (HELO dtulimr01.rockwellcollins.com) ([205.175.226.14]) by ch3vs01.rockwellcollins.com with ESMTP; 13 Jul 2015 18:34:28 -0500 X-Received: from localhost.localdomain (crp23381.rockwellcollins.com [131.199.101.196]) by dtulimr01.rockwellcollins.com (Postfix) with ESMTP id 41F37600DB; Mon, 13 Jul 2015 18:34:26 -0500 (CDT) From: Ryan Barnett To: buildroot@buildroot.org Date: Mon, 13 Jul 2015 18:34:23 -0500 Message-Id: <1436830463-90993-1-git-send-email-ryan.barnett@rockwellcollins.com> X-Mailer: git-send-email 1.9.1 Cc: Ryan Barnett Subject: [Buildroot] [PATCH v2 1/1] linux: add server options for NFSD X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" When nfs-utils packages is selected, automatically enable the kernel options for NFSD. This will allow for an NFS server to work by only adding /etc/exports to the filesystem. Signed-off-by: Ryan Barnett --- Test with qemu_x86_defconfig Changes v1 -> v2: - Only enable CONFIG_NFSD (suggested by Arnout) --- linux/linux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index b602a04..90396e6 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -229,6 +229,8 @@ define LINUX_KCONFIG_FIXUP_CMDS $(if $(BR2_PACKAGE_XTABLES_ADDONS), $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK,$(@D)/.config)) + $(if $(BR2_PACKAGE_NFS_UTILS), + $(call KCONFIG_ENABLE_OPT,CONFIG_NFSD,$(@D)/.config)) $(if $(BR2_LINUX_KERNEL_APPENDED_DTB), $(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB,$(@D)/.config)) endef