For now no pacman upgrade in ISO

This commit is contained in:
hygienic-books 2024-12-28 18:21:04 +01:00
parent 08f33c33c7
commit 624d278971

View File

@ -429,10 +429,13 @@ function update_pacman_db () {
systemctl start reflector
# In an ISO and for the minimal number of packages we need we do not
# care about partial upgrades
while ! pacman -Syyuu --needed --noconfirm --downloadonly; do
sleep 5
done
pacman -Syyuu --needed --noconfirm
#
# Are we better off not attempting an upgrade inside the ISO?
# Let's try and find out.
# while ! pacman -Syyuu --needed --noconfirm --downloadonly; do
# sleep 5
# done
# pacman -Syyuu --needed --noconfirm
}
function install_pkgs () {