Address installation inside a chroot

This commit is contained in:
David Heinemeier Hansson
2025-08-19 14:34:34 +02:00
parent 21f60a960b
commit 092b2ba51c
6 changed files with 19 additions and 13 deletions

View File

@@ -4,12 +4,7 @@
# This can happen if archinstall used ethernet
if ! command -v iwctl &>/dev/null; then
yay -S --noconfirm --needed iwd
if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then
sudo systemctl enable iwd.service
else
sudo systemctl enable --now iwd.service
fi
chrootable_systemctl_enable iwd.service
fi
# Prevent systemd-networkd-wait-online timeout on boot