diff --git a/builder/cmds/autostart-offline.sh b/builder/cmds/autostart-offline.sh index 9748d8d..eea2652 100644 --- a/builder/cmds/autostart-offline.sh +++ b/builder/cmds/autostart-offline.sh @@ -80,6 +80,10 @@ if [[ $(tty) == "/dev/tty1" ]]; then mkdir -p /mnt/var/cache/omarchy/mirror/offline mount --bind /var/cache/omarchy/mirror/offline /mnt/var/cache/omarchy/mirror/offline + # Mount the ruby directory so it's accessible in the chroot + mkdir -p /mnt/var/cache/omarchy/ruby + mount --bind /var/cache/omarchy/ruby /mnt/var/cache/omarchy/ruby + # No need to ask for sudo during the installation (omarchy itself responsible for removing after install) mkdir -p /mnt/etc/sudoers.d cat >/mnt/etc/sudoers.d/99-omarchy-installer <