mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
code fixing
This commit is contained in:
parent
b183221830
commit
4bf9840c42
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue