From 9204d11a7fa3983c62072ec7e597d56fb30d99de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Fri, 7 Mar 2025 22:33:33 +0100 Subject: [PATCH] Fix detect-swap --- os/layers/live/hooks/live/2005-live.hook.chroot | 2 ++ os/layers/live/includes.chroot/usr/local/bin/detect-swap | 0 2 files changed, 2 insertions(+) mode change 100644 => 100755 os/layers/live/includes.chroot/usr/local/bin/detect-swap diff --git a/os/layers/live/hooks/live/2005-live.hook.chroot b/os/layers/live/hooks/live/2005-live.hook.chroot index 6e1f34b..fa875a7 100644 --- a/os/layers/live/hooks/live/2005-live.hook.chroot +++ b/os/layers/live/hooks/live/2005-live.hook.chroot @@ -5,6 +5,8 @@ set -eu # Enable the live system configuration script at boot. systemctl enable live-config.service +systemctl enable detect-swap.service + # Disable automatic apt update. systemctl disable apt-daily.timer systemctl disable apt-daily-upgrade.timer diff --git a/os/layers/live/includes.chroot/usr/local/bin/detect-swap b/os/layers/live/includes.chroot/usr/local/bin/detect-swap old mode 100644 new mode 100755