From patchwork Tue Feb 28 18:55:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Fitzenreiter X-Patchwork-Id: 6645 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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PR64z4K16z3wk1 for ; Tue, 28 Feb 2023 18:55:31 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PR64x3j1gzKj; Tue, 28 Feb 2023 18:55:29 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PR64x0yG9z2y3Y; Tue, 28 Feb 2023 18:55:29 +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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PR64v4bsyz2xPC for ; Tue, 28 Feb 2023 18:55:27 +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 4PR64t61t6z5y; Tue, 28 Feb 2023 18:55:26 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1677610526; 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=/cR2sQp3R4MgI0bTCBHaLr967rXXPSXhcnP1ucFeO4U=; b=sWwcIyyCJHgDVjE7QBYss6YSCbKipZ2WDXQ2XZ7pRRaVfuOw9Z5+fgvXMY70KOez9H0A7r +aCRAg2hkWLxqcDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1677610526; 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=/cR2sQp3R4MgI0bTCBHaLr967rXXPSXhcnP1ucFeO4U=; b=dnyaKh6N653WB6DmMRKfoNdSHSuOZ00NPzOyBigN28kCWZ/EmB4izCk0jZqCoWc1NX1ATZ V/Lk+dJ+OYdgI2HAC0jcGOShuvedHCbyJSt/qLlmiqFO3LKs8h3mWbTHHckpgrnOgJ2pKM HFjI0r1Mtxl9tPnurdb9e2Q2ThGI1T5Ujuztw7iI0HQmey5OovoTnDe64zH1D9bgdjeaqL Ekao1Vo5Sah8b3mc4dHvM1gxz4ZhwDUdd+N0W7/MKsQctAp8Su5d/hMgBBDnzUpPXzOvrx eyq6D+a1sPnBhDYnm8ncywfEPXJWyp0WeLebWXLMucaGcfrxHbvVqjAL+9Hw/g== From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: [PATCH 1/2] checkrootfiles: add riscv64 checks Date: Tue, 28 Feb 2023 19:55:16 +0100 Message-Id: <20230228185517.15155-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" --- tools/checkrootfiles | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/checkrootfiles b/tools/checkrootfiles index ab27c594b..a2712808b 100755 --- a/tools/checkrootfiles +++ b/tools/checkrootfiles @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team info@ipfire.org # +# Copyright (C) 2007-2023 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 # @@ -53,3 +53,11 @@ if [ "${?}" == "0" ]; then --exclude-dir oldcore --exclude-dir aarch64 echo "Replace by xxxMACHINExxx !" fi + +grep -r '/riscv64' ./config/rootfiles/ --exclude gcc --exclude rust-libc --exclude gdb --exclude liburcu --exclude go --exclude-dir oldcore --exclude-dir riscv64 >/dev/null 2>&1 +if [ "${?}" == "0" ]; then + echo "Error! '/riscv64' in rootfiles files found!" + grep -r '/riscv64' ./config/rootfiles/ --exclude gcc --exclude rust-libc --exclude go \ + --exclude-dir oldcore --exclude-dir riscv64 + echo "Replace by xxxMACHINExxx !" +fi