From patchwork Thu Sep 17 09:03:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tian Yuanhao X-Patchwork-Id: 1365988 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=busybox.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=aliyun.com header.i=@aliyun.com header.a=rsa-sha256 header.s=s1024 header.b=TEiUAwuE; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BsWH22Zw9z9sSW for ; Thu, 17 Sep 2020 19:03:58 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 99B0C2E17F; Thu, 17 Sep 2020 09:03:56 +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 idgEYy0dVdsV; Thu, 17 Sep 2020 09:03:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 05DAA2E15E; Thu, 17 Sep 2020 09:03:53 +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 9124C1BF275 for ; Thu, 17 Sep 2020 09:03:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 889B78786F for ; Thu, 17 Sep 2020 09:03:51 +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 Mw97z3RdUQau for ; Thu, 17 Sep 2020 09:03:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from out30-2.freemail.mail.aliyun.com (out30-2.freemail.mail.aliyun.com [115.124.30.2]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6369E8785A for ; Thu, 17 Sep 2020 09:03:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aliyun.com; s=s1024; t=1600333425; h=Message-ID:Subject:From:To:Date:Content-Type:Mime-Version; bh=+YJ/z8T/4tIj2Giy2Ohps6ceTD0o69bKJ05DULl6vVM=; b=TEiUAwuEgzufvyZpGdFBAUh9Ghz2CJ2pnBivOCLRErGHdMgR+qZJjR5P2gtzl607KgJc5PDUJtCjpxE7xuSOyyoNy7EWG1JIAABC+bQXXfw5iryDNcdNnvgio1CAmXONCDSo6/lYNdrFdfe8EQYAANw97X6LDjwSg0l3jCRAbUg= X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1583471|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_alarm|0.0333599-0.00531336-0.961327; FP=0|0|0|0|0|-1|-1|-1; HT=e01e04420; MF=tianyuanhao@aliyun.com; NM=1; PH=DS; RN=1; RT=1; SR=0; TI=SMTPD_---0U9CLRwm_1600333425; Received: from 10.20.4.120(mailfrom:tianyuanhao@aliyun.com fp:SMTPD_---0U9CLRwm_1600333425) by smtp.aliyun-inc.com(127.0.0.1); Thu, 17 Sep 2020 17:03:45 +0800 Message-ID: <1600333425.32426.1.camel@aliyun.com> To: Buildroot Date: Thu, 17 Sep 2020 17:03:45 +0800 X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/e2fsprogs: disable the e2scrub stuff X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tian Yuanhao via buildroot Reply-To: Tian Yuanhao Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" e2scrub_all depends on the readlink of coreutils. If you use the readlink of busybox, an error [1] occurs. Embedded systems usually do not use LVM, in which case e2scrub is useless. There is no single option to completely disable e2scrub, so use a method similar to [2] to disable the e2scrub stuff. [1]: https://github.com/tytso/e2fsprogs/issues/32 [2]: https://patchwork.ozlabs.org/project/buildroot/patch/20200717120654.548833-1-antoine.tenart@bootlin.com/ Signed-off-by: Tian Yuanhao ---  package/e2fsprogs/e2fsprogs.mk | 5 ++++-  1 file changed, 4 insertions(+), 1 deletion(-) --  2.7.4 diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk index eb82a55..cf6579d 100644 --- a/package/e2fsprogs/e2fsprogs.mk +++ b/package/e2fsprogs/e2fsprogs.mk @@ -52,7 +52,10 @@ E2FSPROGS_CONF_OPTS = \   --disable-e2initrd-helper \   --disable-testio-debug \   --disable-rpath \ - --enable-symlink-install + --enable-symlink-install \ + --with-crond-dir=no \ + --with-systemd-unit-dir=no \ + --with-udev-rules-dir=no    ifeq ($(BR2_PACKAGE_E2FSPROGS_FUSE2FS),y)  E2FSPROGS_CONF_OPTS += --enable-fuse2fs