From 181e1f116b74d1e4ee400f72f7440b78a4c4d1f1 Mon Sep 17 00:00:00 2001 From: Jo Zzsi Date: Mon, 26 Aug 2024 08:45:14 -0400 Subject: [PATCH] fix(systemd-cryptsetup): install cryptsetup-pre.target --- modules.d/00systemd/module-setup.sh | 1 - modules.d/90systemd-cryptsetup/module-setup.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/00systemd/module-setup.sh b/modules.d/00systemd/module-setup.sh index 237ad7ff7..033961b87 100755 --- a/modules.d/00systemd/module-setup.sh +++ b/modules.d/00systemd/module-setup.sh @@ -44,7 +44,6 @@ install() { "$systemdutildir"/system.conf \ "$systemdutildir"/system.conf.d/*.conf \ "$systemdsystemunitdir"/debug-shell.service \ - "$systemdsystemunitdir"/cryptsetup-pre.target \ "$systemdsystemunitdir"/emergency.target \ "$systemdsystemunitdir"/sysinit.target \ "$systemdsystemunitdir"/basic.target \ diff --git a/modules.d/90systemd-cryptsetup/module-setup.sh b/modules.d/90systemd-cryptsetup/module-setup.sh index da37bdef0..034d4ecfc 100755 --- a/modules.d/90systemd-cryptsetup/module-setup.sh +++ b/modules.d/90systemd-cryptsetup/module-setup.sh @@ -50,6 +50,7 @@ install() { "$tmpfilesdir"/cryptsetup.conf \ "$systemdutildir"/system-generators/systemd-cryptsetup-generator \ "$systemdutildir"/systemd-cryptsetup \ + "$systemdsystemunitdir"/cryptsetup-pre.target \ "$systemdsystemunitdir"/cryptsetup.target \ "$systemdsystemunitdir"/sysinit.target.wants/cryptsetup.target \ "$systemdsystemunitdir"/remote-cryptsetup.target \ -- 2.47.3