From a88b0301f1810e97186452eecdb891d58016e5b1 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 8 Feb 2022 20:47:46 +0100 Subject: [PATCH] disable shellcheck warnings --- usr/lib/archboot/iso_functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/lib/archboot/iso_functions b/usr/lib/archboot/iso_functions index e60410612..ac646d07e 100644 --- a/usr/lib/archboot/iso_functions +++ b/usr/lib/archboot/iso_functions @@ -51,6 +51,7 @@ _config() { _prepare_kernel_initramfs_files() { echo "Prepare kernel and initramfs ..." + #shellcheck disable=SC1090 source "${_PRESET}" mkdir -p "${_ISODIR}/EFI/BOOT" mkdir -p "${_ISODIR}/boot" @@ -59,6 +60,7 @@ _prepare_kernel_initramfs_files() { # remove on mkinitcpio 32 release cp "/usr/lib/initcpio/functions" "/usr/lib/initcpio/functions.old" [[ -f "/usr/share/archboot/patches/31-initcpio.functions.fixed" ]] && cp "/usr/share/archboot/patches/31-initcpio.functions.fixed" "/usr/lib/initcpio/functions" + #shellcheck disable=SC2154 mkinitcpio -c "${MKINITCPIO_CONFIG}" -k "${ALL_kver}" -g "${_ISODIR}/boot/initramfs_${_RUNNING_ARCH}.img" || exit 1 mv "/usr/lib/initcpio/functions.old" "/usr/lib/initcpio/functions" install -m644 "${ALL_kver}" "${_ISODIR}/boot/vmlinuz_${_RUNNING_ARCH}"