summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-02-16 16:15:33 +0100
committerSimon Rettberg2024-02-16 16:15:33 +0100
commit6fd94ced546990eaafcc1f37e9f0e95eae573db2 (patch)
treea04aca8ac17ac93526f503ae26537ef7801f6675
parentOrder services before initrd-cleanup (diff)
downloadsystemd-init-6fd94ced546990eaafcc1f37e9f0e95eae573db2.tar.gz
systemd-init-6fd94ced546990eaafcc1f37e9f0e95eae573db2.tar.xz
systemd-init-6fd94ced546990eaafcc1f37e9f0e95eae573db2.zip
[slx-runmode] Properly order after initrd-fs
-rwxr-xr-xmodules.d/slx-runmode/hooks/s3-enable-runmode.sh2
-rwxr-xr-xmodules.d/slx-runmode/module-setup.sh3
2 files changed, 3 insertions, 2 deletions
diff --git a/modules.d/slx-runmode/hooks/s3-enable-runmode.sh b/modules.d/slx-runmode/hooks/s3-enable-runmode.sh
index 8084a4e3..740f49cf 100755
--- a/modules.d/slx-runmode/hooks/s3-enable-runmode.sh
+++ b/modules.d/slx-runmode/hooks/s3-enable-runmode.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/ash
#
# SLX_SYSTEMD_TARGET overrides the default.target to boot
# the stage4 into - required for the so-called 'run mode'.
diff --git a/modules.d/slx-runmode/module-setup.sh b/modules.d/slx-runmode/module-setup.sh
index d9c991b7..34d6f89a 100755
--- a/modules.d/slx-runmode/module-setup.sh
+++ b/modules.d/slx-runmode/module-setup.sh
@@ -9,5 +9,6 @@ depends() {
}
install() {
slx_service "s3-enable-runmode" "Set up proper default target" \
- --wafter "s3-fetch-config.service"
+ --wafter "s3-fetch-config.service" \
+ --wafter "initrd-fs.target"
}