summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-02-12 17:10:10 +0100
committerSimon Rettberg2024-02-12 17:10:10 +0100
commit511e22df810278d5ab0405f625f24f6a84e4185c (patch)
treeb29ec5049cd7d22809edbd35f149df968b9e7293
parent[slx-clock] Fix misspelled service name (diff)
downloadsystemd-init-511e22df810278d5ab0405f625f24f6a84e4185c.tar.gz
systemd-init-511e22df810278d5ab0405f625f24f6a84e4185c.tar.xz
systemd-init-511e22df810278d5ab0405f625f24f6a84e4185c.zip
Order services before initrd-cleanup
-rwxr-xr-xbuild-initramfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-initramfs.sh b/build-initramfs.sh
index 2a91b484..188369e4 100755
--- a/build-initramfs.sh
+++ b/build-initramfs.sh
@@ -402,7 +402,7 @@ initialize_dracut() {
echo "[Unit]"
echo "Description=${_desc}"
echo "DefaultDependencies=no"
- echo "Before=initrd-switch-root.target"
+ echo "Before=initrd-switch-root.target initrd-cleanup.service"
[ -n "${_wants}" ] && echo "Wants=${_wants[*]}"
[ -n "${_requires}" ] && echo "Requires=${_requires[*]}"
[ -n "${_before}" ] && echo "Before=${_before[*]}"