From patchwork Mon Apr 10 11:49:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 748954 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3w1pQY3vNxz9sNW for ; Mon, 10 Apr 2017 21:50:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7DAE985816; Mon, 10 Apr 2017 11:50:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZHi50FKS6q1y; Mon, 10 Apr 2017 11:50:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BCB9A85813; Mon, 10 Apr 2017 11:50:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7E90B1C26F5 for ; Mon, 10 Apr 2017 11:50:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 83D9F84535 for ; Mon, 10 Apr 2017 11:50:08 +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 vvwze3HV2BSH for ; Mon, 10 Apr 2017 11:50:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.ind.br (mx.datacom.ind.br [177.66.5.10]) by whitealder.osuosl.org (Postfix) with ESMTPS id CD65084509 for ; Mon, 10 Apr 2017 11:50:06 +0000 (UTC) Received: from mail.datacom.ind.br (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTPS id 44C9B1B0932A; Mon, 10 Apr 2017 08:49:56 -0300 (BRT) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.ind.br (Postfix) with ESMTP id 33E921B0935F; Mon, 10 Apr 2017 08:49:56 -0300 (BRT) Received: from mail.datacom.ind.br ([127.0.0.1]) by localhost (mail.datacom.ind.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tHTX1mohpZu1; Mon, 10 Apr 2017 08:49:56 -0300 (BRT) Received: from pedeld202344.datacom.net (pedeld202344.datacom.net [10.0.120.87]) by mail.datacom.ind.br (Postfix) with ESMTPSA id 16C911B09356; Mon, 10 Apr 2017 08:49:56 -0300 (BRT) From: Carlos Santos To: buildroot@buildroot.org Date: Mon, 10 Apr 2017 08:49:55 -0300 Message-Id: <1491824995-19670-2-git-send-email-casantos@datacom.ind.br> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491824995-19670-1-git-send-email-casantos@datacom.ind.br> References: <3eeb7e24-fcc2-8d75-e0e8-141eeaceab70@mind.be> <1491824995-19670-1-git-send-email-casantos@datacom.ind.br> Cc: Thomas Petazzoni , "Yann E . MORIN" Subject: [Buildroot] [PATCH v6 2/2] systemd: select fsck wrapper from util-linux 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" Select the fsck required by systemd provided by util-linux. This prevents ending up with fsck from busybox, which is incompatible with systemd. Change-Id: I61cfc9b8925169b2678ac911fcd5a4eb5d92c425 Signed-off-by: Carlos Santos Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- [there were no v1, v2] Changes v3 - Select e2fsprogs + e2fsck Changes v3->v4 - Remove selection of e2fsprogs + e2fsck - Clean-up commit message Changes v4->v5 - Screwed-up everything, reverting the chances made in v4 Changes v5->v6 - Restored changes made in v4. - Restore the patch changelog. --- package/systemd/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/systemd/Config.in b/package/systemd/Config.in index 0f54686..478cc10 100644 --- a/package/systemd/Config.in +++ b/package/systemd/Config.in @@ -22,6 +22,7 @@ menuconfig BR2_PACKAGE_SYSTEMD select BR2_PACKAGE_UTIL_LINUX_BINARIES select BR2_PACKAGE_UTIL_LINUX_MOUNT select BR2_PACKAGE_UTIL_LINUX_NOLOGIN + select BR2_PACKAGE_UTIL_LINUX_FSCK select BR2_PACKAGE_KMOD select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools select BR2_PACKAGE_KMOD_TOOLS @@ -61,6 +62,11 @@ menuconfig BR2_PACKAGE_SYSTEMD - libgcrypt package will add support for journal sealing and DNSSEC verification in resolved. + Notice that systemd selects the fsck wrapper from util-linux + but no particular fsck. is selected. You must choose + the apropriate ones (e.g. e2fsck, from the e2fsprogs package) + according to the system configuration. + http://freedesktop.org/wiki/Software/systemd if BR2_PACKAGE_SYSTEMD