From 83a54e7fd51e2fdd55fda9f2df94f14adbc8ba21 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Thu, 19 Feb 2026 12:15:39 -0500 Subject: [PATCH] Use offline for boot --- builder/build-iso.sh | 6 +++--- configs/{pacman.conf => pacman-offline.conf} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename configs/{pacman.conf => pacman-offline.conf} (100%) diff --git a/builder/build-iso.sh b/builder/build-iso.sh index b80517b..980eab8 100755 --- a/builder/build-iso.sh +++ b/builder/build-iso.sh @@ -90,9 +90,9 @@ repo-add --new "$offline_mirror_dir/offline.db.tar.gz" "$offline_mirror_dir/"*.p 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. Use the online config with the correct mirror. -cp $build_cache_dir/pacman-online-${OMARCHY_MIRROR}.conf "$build_cache_dir/airootfs/etc/pacman.conf" +# Copy the offline pacman.conf to the ISO's /etc directory so the live environment uses our +# same config when booted. +cp $build_cache_dir/pacman-offline.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/" diff --git a/configs/pacman.conf b/configs/pacman-offline.conf similarity index 100% rename from configs/pacman.conf rename to configs/pacman-offline.conf