Set the CHROOT env here instead of trying to autodetect in omarchy itself

This commit is contained in:
David Heinemeier Hansson committed 2025-08-23 20:34:54 +02:00
1 parent 9a4d535686
commit 1693ad5e6c
1 file changed
+2 -1
+2 -1
View File
@@ -4,7 +4,8 @@ set -euo pipefail
chroot_bash() {
HOME=/home/$OMARCHY_USER \
arch-chroot -u $OMARCHY_USER /mnt/ \
env OMARCHY_USER_NAME="$(<user_full_name.txt)" \
env OMARCHY_CHROOT_INSTALL=1 \
OMARCHY_USER_NAME="$(<user_full_name.txt)" \
OMARCHY_USER_EMAIL="$(<user_email_address.txt)" \
USER="$OMARCHY_USER" \
HOME="/home/$OMARCHY_USER" \