]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(dracut.spec): tpm2-tools is required for crypt module to work
authorPavel Valena <pvalena@redhat.com>
Thu, 8 Sep 2022 12:31:46 +0000 (14:31 +0200)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Fri, 7 Oct 2022 11:59:19 +0000 (11:59 +0000)
tpm2-tools dependency can be can be pulled in case tmp2-tss package
is installed, using a soft conditional dependency.

https://bugzilla.redhat.com/show_bug.cgi?id=2077697

pkgbuild/dracut.spec

index a084a74aa0fd0fcdfff12d7431237dfe87868b18..9d266b6894d55d82fa5453cc10538f77dfd68150 100644 (file)
@@ -77,6 +77,7 @@ Recommends: memstrack
 Recommends: hardlink
 Recommends: pigz
 Recommends: kpartx
+Recommends: (tpm2-tools if tpm2-tss)
 Requires: util-linux >= 2.21
 Requires: systemd >= 219
 Requires: systemd-udev >= 219