Forgot that omarchy installer should run as the user, inside the newly installed system, not inside the ISO
This commit is contained in:
1 file changed
+5
-5
+5
-5
@@ -130,11 +130,11 @@ cat <<- _EOF_ | tee $cache_dir/airootfs/root/.automated_script.sh
|
|||||||
--config user_configuration.json \
|
--config user_configuration.json \
|
||||||
--creds user_credentials.json \
|
--creds user_credentials.json \
|
||||||
--silent && \
|
--silent && \
|
||||||
export OMARCHY_USER=\$(ls /home/) && \
|
export OMARCHY_USER=\$(ls /mnt/home/) && \
|
||||||
mkdir -p /home/\$OMARCHY_USER/.local/share/ && \
|
mkdir -p /mnt/home/\$OMARCHY_USER/.local/share/ && \
|
||||||
cp -r /root/omarchy "/home/\$OMARCHY_USER/.local/share/" && \
|
cp -r /root/omarchy "/mnt/home/\$OMARCHY_USER/.local/share/" && \
|
||||||
chown -R \$OMARCHY_USER: "/home/\$OMARCHY_USER//.local/" \
|
chown -R \$OMARCHY_USER: "/mnt/home/\$OMARCHY_USER/.local/" \
|
||||||
su - \$OMARCHY_USER -c "source /home/\$OMARCHY_USER/.local/share/omarchy/install.sh"
|
arch-chroot -u \$OMARCHY_USER /mnt/ "source ~/.local/share/omarchy/install.sh"
|
||||||
fi
|
fi
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user