2020-05-21.embed-more-programs-in-initram.patch 1.1 KB

1234567891011121314151617181920212223242526
  1. Subject: Embed more programs in the initramfs/initrd
  2. Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
  3. Date: 2020-05-21
  4. Bug: https://github.com/latchset/clevis/issues/195
  5. Last-Update: 2020-11-22
  6. --- a/src/initramfs-tools/hooks/clevis.in
  7. +++ b/src/initramfs-tools/hooks/clevis.in
  8. @@ -61,6 +61,7 @@
  9. copy_exec @bindir@/clevis-decrypt || die 1 "@bindir@/clevis-decrypt not found"
  10. copy_exec @bindir@/clevis-luks-common-functions || die 1 "@bindir@/clevis-luks-common-functions not found"
  11. copy_exec @bindir@/clevis-luks-list || die 1 "@bindir@/clevis-luks-list not found"
  12. +copy_exec @bindir@/clevis-luks-unlock || die 1 "@bindir@/clevis-luks-unlock not found"
  13. if [ -x @bindir@/clevis-decrypt-tpm2 ]; then
  14. copy_exec @bindir@/clevis-decrypt-tpm2 || die 1 "@bindir@/clevis-decrypt-tpm2 not found"
  15. tpm2_creatprimary_bin=$(find_binary "tpm2_createprimary")
  16. --- a/src/luks/systemd/dracut/clevis/module-setup.sh.in
  17. +++ b/src/luks/systemd/dracut/clevis/module-setup.sh.in
  18. @@ -42,6 +42,7 @@
  19. grep sed cut \
  20. clevis-decrypt \
  21. clevis-luks-list \
  22. + clevis-luks-unlock \
  23. cryptsetup \
  24. luksmeta \
  25. clevis \