From 455fe890eccaa80508af4417ef2a3828b392d667 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 23 Aug 2025 20:23:08 +0200 Subject: [PATCH] Just rely on the ISO autostart to set it instead of detecting it --- install/preflight/chroot.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install/preflight/chroot.sh b/install/preflight/chroot.sh index 37342d29..4a6d5b82 100644 --- a/install/preflight/chroot.sh +++ b/install/preflight/chroot.sh @@ -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