Make the mirror available during install
This commit is contained in:
1 parent
9d9a69e0c4
commit
54991588e9
2 files changed
+4
No files matched your search
@@ -34,6 +34,9 @@ rm -rf "$build_cache_dir/airootfs/etc/xdg/reflector"
|
|||||||
# Bring in our configs
|
# Bring in our configs
|
||||||
cp -r /configs/* $build_cache_dir/
|
cp -r /configs/* $build_cache_dir/
|
||||||
|
|
||||||
|
# Persist OMARCHY_MIRROR so it's available at install time
|
||||||
|
echo "$OMARCHY_MIRROR" > "$build_cache_dir/airootfs/root/omarchy_mirror"
|
||||||
|
|
||||||
# Setup Omarchy itself
|
# Setup Omarchy itself
|
||||||
if [[ -d /omarchy ]]; then
|
if [[ -d /omarchy ]]; then
|
||||||
cp -rp /omarchy "$build_cache_dir/airootfs/root/omarchy"
|
cp -rp /omarchy "$build_cache_dir/airootfs/root/omarchy"
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ use_omarchy_helpers() {
|
|||||||
export OMARCHY_PATH="/root/omarchy"
|
export OMARCHY_PATH="/root/omarchy"
|
||||||
export OMARCHY_INSTALL="/root/omarchy/install"
|
export OMARCHY_INSTALL="/root/omarchy/install"
|
||||||
export OMARCHY_INSTALL_LOG_FILE="/var/log/omarchy-install.log"
|
export OMARCHY_INSTALL_LOG_FILE="/var/log/omarchy-install.log"
|
||||||
|
export OMARCHY_MIRROR="$(cat /root/omarchy_mirror)"
|
||||||
source /root/omarchy/install/helpers/all.sh
|
source /root/omarchy/install/helpers/all.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user