From 511e22df810278d5ab0405f625f24f6a84e4185c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 12 Feb 2024 17:10:10 +0100 Subject: Order services before initrd-cleanup --- build-initramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[*]}" -- cgit v1.2.3-55-g7522