fix(iso): Start reflector once before first package install (#1)

This commit is contained in:
hygienic-books 2023-02-19 21:13:11 +01:00
parent 61897e0364
commit a5e240f350

View File

@ -18,6 +18,7 @@ function we_are_changerooted () {
} }
function update_pacman_db () { function update_pacman_db () {
systemctl start reflector
# In an ISO and for the minimal number of packages we need we do not # In an ISO and for the minimal number of packages we need we do not
# care about partial upgrades # care about partial upgrades
pacman -Sy pacman -Sy
@ -492,7 +493,6 @@ function main () {
setup_zpool "${zfs_part}" setup_zpool "${zfs_part}"
mount_system mount_system
copy_zpool_cache copy_zpool_cache
systemctl start reflector
install_archlinux install_archlinux
gen_fstab gen_fstab
set_hostname set_hostname