Upgrade packages during install

This commit is contained in:
Rudra Saraswat 2023-04-21 20:09:38 +05:30
parent 8987f37751
commit 81b9dc103b

View file

@ -223,7 +223,7 @@ def inst_setup_base(config):
# Generate fstab # Generate fstab
exec(['bash', '-c', 'genfstab -U /mnt > /mnt/etc/fstab']) exec(['bash', '-c', 'genfstab -U /mnt > /mnt/etc/fstab'])
# Refresh package lists, pacman-key --init # Refresh package lists, pacman-key --init
exec_chroot(['pacman', '-Sy']) exec_chroot(['pacman', '-Syu', '--noconfirm'])
exec_chroot(['pacman-key', '--init']) exec_chroot(['pacman-key', '--init'])
exec_chroot(['pacman-key', '--populate', 'archlinux']) exec_chroot(['pacman-key', '--populate', 'archlinux'])
exec_chroot(['pacman-key', '--populate', 'blend']) exec_chroot(['pacman-key', '--populate', 'blend'])