diff --git a/usr/lib/archboot/release.sh b/usr/lib/archboot/release.sh index e9faa6aef..b35296fa2 100644 --- a/usr/lib/archboot/release.sh +++ b/usr/lib/archboot/release.sh @@ -32,6 +32,7 @@ _create_iso() { # create container archboot-"${_ARCH}"-create-container.sh "${_W_DIR}" -cc --install-source="${2}" || exit 1 _create_archboot_db "${_W_DIR}${_CACHEDIR}" + #shellcheck disable=SC1090 . "${_W_DIR}/etc/archboot/${_ARCH}.conf" #shellcheck disable=SC2116,SC2046,SC2027 _KERNEL_VERSION="$(${_NSPAWN} "${_W_DIR}" /bin/bash -c "KERNEL="$(echo "${KERNEL}")";. /usr/lib/archboot/common.sh; _kver ${KERNEL}")" diff --git a/usr/lib/archboot/server.sh b/usr/lib/archboot/server.sh index cc47fda35..d9aaf54c1 100644 --- a/usr/lib/archboot/server.sh +++ b/usr/lib/archboot/server.sh @@ -24,6 +24,7 @@ _update_pacman_chroot() { [[ -f pacman-${_ARCH}-chroot-latest.tar.zst ]] && rm pacman-"${_ARCH}"-chroot-latest.tar.zst{,.sig} 2>"${_NO_LOG}" wget "${_ARCH_CHROOT_PUBLIC}"/"${_PACMAN_CHROOT}"{,.sig} &>"${_NO_LOG}" # verify download + #shellcheck disable=SC2024 sudo -u "${_USER}" gpg --verify "${_PACMAN_CHROOT}.sig" &>"${_NO_LOG}" || exit 1 bsdtar -C "${_ARCH_DIR}" -xf "${_PACMAN_CHROOT}" &>"${_NO_LOG}" echo "Removing installation tarball..."