Just rely on the ISO autostart to set it instead of detecting it

This commit is contained in:
David Heinemeier Hansson 2025-08-23 20:23:08 +02:00
parent ccc8aa87d0
commit 455fe890ec

View File

@ -1,8 +1,4 @@
# Chroot installations have some differences
if ! cmp -s /proc/1/root/ / 2>/dev/null; then
export OMARCHY_CHROOT_INSTALL=1
fi
# Starting the installer with OMARCHY_CHROOT_INSTALL=1 will put it into chroot mode
chrootable_systemctl_enable() {
if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then
sudo systemctl enable $1