mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
replace Update with Updating
This commit is contained in:
parent
06340c5bb3
commit
68f70e41ee
2 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ _pacman_chroot() {
|
||||||
echo "Removing installation tarball ${3}..."
|
echo "Removing installation tarball ${3}..."
|
||||||
rm "${3}"{,.sig}
|
rm "${3}"{,.sig}
|
||||||
fi
|
fi
|
||||||
echo "Update container to latest packages..."
|
echo "Updating container to latest packages..."
|
||||||
${_NSPAWN} "${1}" pacman -Syu --noconfirm &>/dev/null
|
${_NSPAWN} "${1}" pacman -Syu --noconfirm &>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ _prepare_pacman() {
|
||||||
mount shm "${1}/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev
|
mount shm "${1}/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev
|
||||||
echo "Remove archboot repository sync db..."
|
echo "Remove archboot repository sync db..."
|
||||||
rm -f /var/lib/pacman/sync/archboot.db
|
rm -f /var/lib/pacman/sync/archboot.db
|
||||||
echo "Update Arch Linux keyring..."
|
echo "Updating Arch Linux keyring..."
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
pacman -Sy --config ${_PACMAN_CONF} --noconfirm --noprogressbar ${_KEYRING} &>/dev/null
|
pacman -Sy --config ${_PACMAN_CONF} --noconfirm --noprogressbar ${_KEYRING} &>/dev/null
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ _update_pacman_chroot() {
|
||||||
echo "Removing installation tarball..."
|
echo "Removing installation tarball..."
|
||||||
rm "${_PACMAN_CHROOT}"{,.sig} &>/dev/null
|
rm "${_PACMAN_CHROOT}"{,.sig} &>/dev/null
|
||||||
# update container to latest packages
|
# update container to latest packages
|
||||||
echo "Update container to latest packages..."
|
echo "Updating container to latest packages..."
|
||||||
# fix mirrorlist
|
# fix mirrorlist
|
||||||
[[ "${_ARCH}" == "riscv64" ]] && sed -i -e 's|^#Server = https://riscv|Server = https://riscv|g' "${_ARCH_DIR}"/etc/pacman.d/mirrorlist
|
[[ "${_ARCH}" == "riscv64" ]] && sed -i -e 's|^#Server = https://riscv|Server = https://riscv|g' "${_ARCH_DIR}"/etc/pacman.d/mirrorlist
|
||||||
${_NSPAWN} "${_ARCH_DIR}" pacman -Syu --noconfirm &>/dev/null || exit 1
|
${_NSPAWN} "${_ARCH_DIR}" pacman -Syu --noconfirm &>/dev/null || exit 1
|
||||||
|
|
Loading…
Reference in a new issue