diff --git a/builder/build-iso.sh b/builder/build-iso.sh index 7d4a59a..b80517b 100755 --- a/builder/build-iso.sh +++ b/builder/build-iso.sh @@ -91,8 +91,8 @@ mkdir -p /var/cache/omarchy/mirror ln -s "$offline_mirror_dir" "/var/cache/omarchy/mirror/offline" # Copy the pacman.conf to the ISO's /etc directory so the live environment uses our -# same config when booted -cp $build_cache_dir/pacman.conf "$build_cache_dir/airootfs/etc/pacman.conf" +# same config when booted. Use the online config with the correct mirror. +cp $build_cache_dir/pacman-online-${OMARCHY_MIRROR}.conf "$build_cache_dir/airootfs/etc/pacman.conf" # Finally, we assemble the entire ISO mkarchiso -v -w "$build_cache_dir/work/" -o "/out/" "$build_cache_dir/"