From patchwork Thu Jul 16 15:05:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hesse X-Patchwork-Id: 1724 Return-Path: Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 5101419F77A83 for ; Thu, 16 Jul 2020 15:06:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on apollo.archlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_INVALID=1, DKIM_SIGNED=0.1,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001 autolearn=ham autolearn_force=no version=3.4.4 X-Spam-BL-Results: [127.0.9.2] [127.0.0.10] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for ; Thu, 16 Jul 2020 15:06:22 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 166D91D35DB049; Thu, 16 Jul 2020 15:06:21 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [5.9.250.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: luna) by orion.archlinux.org (Postfix) with ESMTPSA id B556C1D35DB042; Thu, 16 Jul 2020 15:06:20 +0000 (UTC) Authentication-Results: orion.archlinux.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=eworm.de header.i=@eworm.de header.b=dHt7AVWF Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 9EB6329CBD; Thu, 16 Jul 2020 15:06:20 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=eworm.de header.i=@eworm.de header.b=dHt7AVWF Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 1E3AE29CBC for ; Thu, 16 Jul 2020 15:06:16 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [88.198.91.70]) by luna.archlinux.org (Postfix) with ESMTPS for ; Thu, 16 Jul 2020 15:06:16 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id E26471D35DB03A for ; Thu, 16 Jul 2020 15:06:07 +0000 (UTC) Received: from mx.mylinuxtime.de (mx.mylinuxtime.de [195.201.174.144]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for ; Thu, 16 Jul 2020 15:06:07 +0000 (UTC) Received: from leda.eworm.de (p54b79a18.dip0.t-ipconnect.de [84.183.154.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx.mylinuxtime.de (Postfix) with ESMTPSA id 6E5DD126FCE; Thu, 16 Jul 2020 17:06:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eworm.de; s=mail; t=1594911966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=6ipAUCy/RVc6Bep9+e4iLxWv+EzO5lt8w/0Zpb3Y7K0=; b=dHt7AVWFLg8PcpfBDZtMmtcv+6NhHVI5YrJYANneYwu4X7g63lwDZ2xNPfq+0+pHMTDywr Kp7TPlrPkcIjmGXjYizAQMFZgvVRua7oVLQS29iRYhwBma17TtkFBxVALi8F8CuWZ89rhZ QTHpYUAqdlTIHWf8Wm0wyTGr+USQqC8= Received: by leda.eworm.de (Postfix, from userid 1000) id 016211A3662; Thu, 16 Jul 2020 17:05:35 +0200 (CEST) From: Christian Hesse To: arch-projects@archlinux.org Cc: Christian Hesse Date: Thu, 16 Jul 2020 17:05:21 +0200 Message-Id: <20200716150521.45737-1-list@eworm.de> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Spamd-Bar: + Authentication-Results: mx.mylinuxtime.de; auth=pass smtp.auth=smtp-only@eworm.de smtp.mailfrom=eworm@leda.eworm.de X-Rspamd-Server: mx X-Stat-Signature: 35cereq64c9wcpdaj8e5kzz6x49r6kfo X-Rspamd-Queue-Id: 6E5DD126FCE X-Spamd-Result: default: False [1.66 / 15.00]; ARC_NA(0.00)[]; GENERIC_REPUTATION(0.00)[-0.56256644209001]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_HAM_LONG(-2.90)[-0.968]; DBL_FAIL(0.00)[eworm.de:server fail]; DKIM_SIGNED(0.00)[]; NEURAL_HAM_SHORT(-0.63)[-0.632]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; FORGED_SENDER(0.30)[list@eworm.de,eworm@leda.eworm.de]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:84.128.0.0/10, country:DE]; FROM_NEQ_ENVFROM(0.00)[list@eworm.de,eworm@leda.eworm.de] Subject: [arch-projects] [mkinitcpio] [PATCH 1/1] fsck: do not complain about missing helper for tmpfs X-BeenThere: arch-projects@archlinux.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Arch Linux projects development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Arch Linux projects development discussion Errors-To: arch-projects-bounces@archlinux.org Sender: "arch-projects" From: Christian Hesse Within a (build) chroot we may have root on tmpfs. There is no fsck helper for tmpfs, so do not complain. Signed-off-by: Christian Hesse --- install/fsck | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/fsck b/install/fsck index d20750e..366cdbd 100644 --- a/install/fsck +++ b/install/fsck @@ -4,6 +4,8 @@ build() { local fsck= added=0 add_fsck() { + [[ $1 = tmpfs ]] && return + if [[ $1 = ext[234] ]]; then add_binary fsck.ext4 add_symlink /usr/bin/fsck.ext2 fsck.ext4