From patchwork Tue Jul 19 16:52:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Fitzenreiter X-Patchwork-Id: 5758 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4LnPyl25Xcz3wvM for ; Tue, 19 Jul 2022 16:52:47 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4LnPyj19qVz5Rh; Tue, 19 Jul 2022 16:52:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4LnPyj00B9z2yT5; Tue, 19 Jul 2022 16:52:44 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4LnPyg224tz2xK9 for ; Tue, 19 Jul 2022 16:52:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4LnPyf3FnGzyQ; Tue, 19 Jul 2022 16:52:42 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1658249562; 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=zMAZZIl7NkLMKB7Atg+g2tNjVG1Q7n9EmSBvbxXT7X0=; b=ojPMJVZI4jyhvGy1R84PsOx/6HxLRfy8YI94Ruf/4QAu/ZpwEKf6L+cRWg0L75ax4UXCcx /qIrUv8NnQTgY3Cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1658249562; 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=zMAZZIl7NkLMKB7Atg+g2tNjVG1Q7n9EmSBvbxXT7X0=; b=n5zcOHP2G3EFIZPGCFIiRGK0u+Ko+git2k/hr34sacmkLvcZk9QFJf/J/Db5M54BzREqVJ TQz5L4UuTdeGo+RSZpr/UakIayMUqiWPnP17hwXwoCgZKzCXoIr2KboGgM+rjMl1MyjuO0 2bcZe0xNO8RfKsMbrxqVJvVVP2Kest8tpZr9BKTld9ckPrUJJrC/k1pKICkPILYtik9huj DznkGMUPLJp2YsDXSJ93P5yuBYxmH9B2COhsIK2pcjT+6+LL/4eTYQJtDT2jIofcfkjQhX OupgKgWoIZEhyixMP9XzwSntYlVu6NoSbSD5QUafe+oow2wuqHA3Sg9z43z6AQ== From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: [PATCH] checkrootfiles: exclude update.sh at x86_64 check Date: Tue, 19 Jul 2022 16:52:31 +0000 Message-Id: <20220719165231.28813-1-arne_f@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arne Fitzenreiter Errors-To: development-bounces@lists.ipfire.org Sender: "Development" the updatescript also contains this string so the check produce a false positive. Signed-off-by: Arne Fitzenreiter --- tools/checkrootfiles | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/checkrootfiles b/tools/checkrootfiles index 1a55a4da9..33bfb16e0 100755 --- a/tools/checkrootfiles +++ b/tools/checkrootfiles @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2015 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2022 IPFire Team info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -35,11 +35,13 @@ fi grep -r '/x86_64' ./config/rootfiles/ --exclude gcc --exclude rust-libc \ --exclude rust-ppv-lite86 --exclude rust-memchr --exclude *linux* \ + --exclude update.sh \ --exclude-dir oldcore --exclude-dir x86_64 >/dev/null 2>&1 if [ "${?}" == "0" ]; then echo "Error! '/x86_64' in rootfiles files found!" grep -r '/x86_64' ./config/rootfiles/ --exclude gcc --exclude rust-libc \ --exclude rust-ppv-lite86 --exclude rust-memchr --exclude *linux* \ + --exclude update.sh \ --exclude-dir oldcore --exclude-dir x86_64 echo "Replace by xxxMACHINExxx !" fi