diff --git a/usr/lib/archboot/server.sh b/usr/lib/archboot/server.sh index 9929ad835..20ffbc241 100644 --- a/usr/lib/archboot/server.sh +++ b/usr/lib/archboot/server.sh @@ -19,9 +19,9 @@ _update_pacman_chroot() { # update pacman chroot cd "${_ISO_HOME}" || exit 1 [[ -d "${_ARCH_DIR}" ]] || mkdir "${_ARCH_DIR}" - echo "Downloading archlinuxarm pacman aarch64 chroot..." - [[ -f pacman-aarch64-chroot-latest.tar.zst ]] && rm pacman-aarch64-chroot-latest.tar.zst{,.sig} 2>/dev/null - wget ${_ARCHBOOT_CHROOT_PUBLIC}/${_PACMAN_CHROOT}{,.sig} >/dev/null 2>&1 + echo "Downloading pacman ${_ARCH} chroot..." + [[ -f pacman-${_ARCH}-chroot-latest.tar.zst ]] && rm pacman-${_ARCH}-chroot-latest.tar.zst{,.sig} 2>/dev/null + wget ${_ARCH_CHROOT_PUBLIC}/${_PACMAN_CHROOT}{,.sig} >/dev/null 2>&1 # verify download sudo -u "${_USER}" gpg --verify "${_PACMAN_CHROOT}.sig" >/dev/null 2>&1 || exit 1 bsdtar -C "${_ARCH_DIR}" -xf "${_PACMAN_CHROOT}" >/dev/null 2>&1