From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E6A79138350 for ; Sat, 11 Apr 2020 20:04:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71301E092B; Sat, 11 Apr 2020 20:04:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59689E092B for ; Sat, 11 Apr 2020 20:04:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1592C34F128 for ; Sat, 11 Apr 2020 20:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10E2A1D4 for ; Sat, 11 Apr 2020 20:04:28 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1586634197.039494e11540c963e7b804e7b4eecbef87d5eaa0.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: defaults/initrd.scripts defaults/linuxrc X-VCS-Directories: defaults/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 039494e11540c963e7b804e7b4eecbef87d5eaa0 X-VCS-Branch: master Date: Sat, 11 Apr 2020 20:04:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9ff9bb0-5b48-461c-abaf-45927a1a226a X-Archives-Hash: 3f1d4882dc84e3c2fda4b780da06d7bd commit: 039494e11540c963e7b804e7b4eecbef87d5eaa0 Author: Thomas Deutschmann gentoo org> AuthorDate: Sat Apr 11 19:38:53 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Apr 11 19:43:17 2020 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=039494e1 defaults/initrd.scripts: ignore SC2045 Signed-off-by: Thomas Deutschmann gentoo.org> defaults/initrd.scripts | 1 + defaults/linuxrc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index d4b159a..514a8bc 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -186,6 +186,7 @@ findmediamount() { # don't skip device mapper devices. Even the craziest scenario # deserves a fair chance. # + # shellcheck disable=SC2045 for part in $(ls /sys/block/${bsn}/${bsn}*[0-9]* 2>/dev/null) do skip=1 diff --git a/defaults/linuxrc b/defaults/linuxrc index b3e1740..964a932 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -1133,6 +1133,7 @@ FSTAB then if [ -e "${CDROOT_PATH}/add" ] then + # shellcheck disable=SC2045 for targz in $(ls ${CDROOT_PATH}/add/*.tar.gz) do tarname=$(basename ${targz}) @@ -1188,6 +1189,7 @@ FSTAB if [ -e "/${NEW_ROOT}/${directory}" ] then # It does exist, link all the individual files + # shellcheck disable=SC2045 for file in $(ls /${NEW_ROOT}/${FS_LOCATION}/${directory}) do if [ ! -d "/${NEW_ROOT}/${FS_LOCATION}/${directory}/${file}" ] && [ ! -e "${NEW_ROOT}/${directory}/${file}" ]