From 555be32eb210cd0beef98a4b2a6bd312c255286f Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Tue, 2 Sep 2025 11:50:24 +0200 Subject: [PATCH] Add precompiled ruby to cache --- builder/cmds/autostart-offline.sh | 4 ++++ builder/offline.sh | 14 ++++++++++++++ 2 files changed, 18 insertions(+) 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 <