From patchwork Mon Mar 11 16:19:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Vu-Brugier X-Patchwork-Id: 226590 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id A662C2C02C2 for ; Tue, 12 Mar 2013 03:20:08 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 160B9A0034; Mon, 11 Mar 2013 16:20:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id byAu-544LxJR; Mon, 11 Mar 2013 16:20:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C0546A0076; Mon, 11 Mar 2013 16:20:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 948EF8F74B for ; Mon, 11 Mar 2013 16:20:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E12278AB5A for ; Mon, 11 Mar 2013 16:20:00 +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 Y5WRdzi5CYP8 for ; Mon, 11 Mar 2013 16:19:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from dc-iris.lacie.com (smtp.lacie.com [207.189.107.132]) by whitealder.osuosl.org (Postfix) with ESMTP id D411B8AB7E for ; Mon, 11 Mar 2013 16:19:59 +0000 (UTC) Received: from localhost ([192.168.8.135]) by dc-iris.lacie.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 11 Mar 2013 09:21:00 -0700 From: Christophe Vu-Brugier To: buildroot@busybox.net Date: Mon, 11 Mar 2013 17:19:37 +0100 Message-Id: <1363018777-13122-1-git-send-email-cvubrugier@lacie.com> X-Mailer: git-send-email 1.7.10.4 X-OriginalArrivalTime: 11 Mar 2013 16:21:01.0189 (UTC) FILETIME=[6BAD6B50:01CE1E74] Subject: [Buildroot] [PATCH 1/1] host util-linux: disable login and su since they depend on PAM X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net This fixes the following errors when building util-linux v2.22.2 for the host in case the PAM headers are missing: configure: error: login selected, but required PAM header file not available configure: error: su selected, but required PAM header file not available Signed-off-by: Christophe Vu-Brugier --- package/util-linux/util-linux.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 5e88206..b562206 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -79,11 +79,12 @@ UTIL_LINUX_CONF_OPT += \ # and none of the util-linux utilities, so we disable all of them. HOST_UTIL_LINUX_CONF_OPT += \ --enable-libuuid \ - --disable-mount --disable-fsck --disable-libmount \ - --disable-uuidd --disable-libblkid --disable-agetty \ - --disable-cramfs --disable-switch_root --disable-pivot_root \ - --disable-fallocate --disable-unshare --disable-rename \ - --disable-schedutils --disable-wall --disable-partx + --disable-agetty --disable-cramfs --disable-fallocate \ + --disable-fsck --disable-libblkid --disable-libmount \ + --disable-login --disable-mount --disable-partx \ + --disable-pivot_root --disable-rename --disable-schedutils \ + --disable-su --disable-switch_root --disable-unshare \ + --disable-uuidd --disable-wall # Avoid building the tools if they are disabled since we can't install on # a per-directory basis.