From 6fd94ced546990eaafcc1f37e9f0e95eae573db2 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 16 Feb 2024 16:15:33 +0100 Subject: [slx-runmode] Properly order after initrd-fs --- modules.d/slx-runmode/hooks/s3-enable-runmode.sh | 2 +- modules.d/slx-runmode/module-setup.sh | 3 ++- 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" } -- cgit v1.2.3-55-g7522