initramfs: Add tpm2-tss & systemd-pcrphase for LUKS unlocking
Enable both modules to make it easier to setup TPM bound LUKS device unlocking. See: https://gitlab.com/fedora/ostree/sig/-/issues/33
This commit is contained in:
parent
5585f60aa0
commit
440fa5e438
1 changed files with 9 additions and 0 deletions
|
@ -27,3 +27,12 @@ postprocess:
|
|||
# save much space. So let's disable it to avoid the error-looking message.
|
||||
do_strip=no
|
||||
EOF
|
||||
|
||||
- |
|
||||
#!/usr/bin/env bash
|
||||
set -xeuo pipefail
|
||||
|
||||
cat > /usr/lib/dracut/dracut.conf.d/20-atomic-tpm-luks.conf << 'EOF'
|
||||
# Add support for systemd-cryptsetup and tpm2-tss LUKS locking
|
||||
add_dracutmodules+=" tpm2-tss systemd-pcrphase "
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue