fix pacman install on aarch64

This commit is contained in:
Tobias Powalowski 2022-01-09 14:26:53 +01:00
parent 78efc060ba
commit 05cb463dd4

View file

@ -64,7 +64,7 @@ if [[ "$(uname -m)" == "aarch64" ]]; then
mount shm ""${_DIR}"/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev
# install archboot
echo "Installing packages base firmware and archboot to ${_DIR} ..."
yes | pacman --root "${_DIR}" -Sy base archboot "${_LINUX_FIRMWARE}" --ignore systemd-resolvconf --cachedir "${_PWD}"/"${_CACHEDIR}" >/dev/null 2>&1
pacman --root "${_DIR}" -Sy base archboot "${_LINUX_FIRMWARE}" --noconfirm --ignore systemd-resolvconf --cachedir "${_PWD}"/"${_CACHEDIR}" >/dev/null 2>&1
# umount special filesystems
echo "Umount special filesystems in to ${_DIR} ..."
umount -R ""${_DIR}"/proc"