tier-0: add systemd-cryptsetup to initrd dracut modules

Fedora 41 appears to require the inclusion of `systemd-cryptsetup` in
the initrd in order to unlock LUKS devices at boot.

See: #17

Signed-off-by: Micah Abbott <miabbott@redhat.com>
This commit is contained in:
Micah Abbott 2024-08-29 09:15:45 -04:00
parent 4a4e727254
commit 7109132dd6
1 changed files with 1 additions and 1 deletions

View File

@ -14,5 +14,5 @@ postprocess:
EOF
cat > /usr/lib/dracut/dracut.conf.d/49-bootc-tpm2-tss.conf << 'EOF'
# We want this for systemd-cryptsetup tpm2 locking
add_dracutmodules+=" tpm2-tss "
add_dracutmodules+=" systemd-cryptsetup tpm2-tss "
EOF