From b2bc8f2eba829b744d892cad57f3954799a10990 Mon Sep 17 00:00:00 2001 From: Torxed Date: Sun, 17 Aug 2025 17:41:28 +0200 Subject: [PATCH] Forgot that omarchy installer should run as the user, inside the newly installed system, not inside the ISO --- build_iso.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build_iso.sh b/build_iso.sh index 2a0d179..d5b2f99 100755 --- a/build_iso.sh +++ b/build_iso.sh @@ -130,11 +130,11 @@ cat <<- _EOF_ | tee $cache_dir/airootfs/root/.automated_script.sh --config user_configuration.json \ --creds user_credentials.json \ --silent && \ - export OMARCHY_USER=\$(ls /home/) && \ - mkdir -p /home/\$OMARCHY_USER/.local/share/ && \ - cp -r /root/omarchy "/home/\$OMARCHY_USER/.local/share/" && \ - chown -R \$OMARCHY_USER: "/home/\$OMARCHY_USER//.local/" \ - su - \$OMARCHY_USER -c "source /home/\$OMARCHY_USER/.local/share/omarchy/install.sh" + export OMARCHY_USER=\$(ls /mnt/home/) && \ + mkdir -p /mnt/home/\$OMARCHY_USER/.local/share/ && \ + cp -r /root/omarchy "/mnt/home/\$OMARCHY_USER/.local/share/" && \ + chown -R \$OMARCHY_USER: "/mnt/home/\$OMARCHY_USER/.local/" \ + arch-chroot -u \$OMARCHY_USER /mnt/ "source ~/.local/share/omarchy/install.sh" fi _EOF_