]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
00systemd: add missing cryptsetup-related targets
authorJonathan Lebon <jonathan@jlebon.com>
Wed, 23 Sep 2020 20:18:18 +0000 (16:18 -0400)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 5 Oct 2020 12:43:58 +0000 (14:43 +0200)
We want these in the initramfs. Things related to clevis and systemd's
`cryptsetup-generator` reference these targets.

modules.d/00systemd/module-setup.sh

index 17be74fd96c17eeb88247a49a4ecf5021c3691d1..bbce31a28c8e74b2d8e35f1535ad6d154c7d2f2a 100755 (executable)
@@ -65,6 +65,8 @@ install() {
         $systemdutildir/system-generators/systemd-gpt-auto-generator \
         \
         $systemdsystemunitdir/cryptsetup.target \
+        $systemdsystemunitdir/cryptsetup-pre.target \
+        $systemdsystemunitdir/remote-cryptsetup.target \
         $systemdsystemunitdir/emergency.target \
         $systemdsystemunitdir/sysinit.target \
         $systemdsystemunitdir/basic.target \