From: Pavel Valena Date: Thu, 8 Sep 2022 12:31:46 +0000 (+0200) Subject: fix(dracut.spec): tpm2-tools is required for crypt module to work X-Git-Tag: 058~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8abffe7cca2e210e15c618beeffe7450be357f73;p=thirdparty%2Fdracut.git fix(dracut.spec): tpm2-tools is required for crypt module to work 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 --- diff --git a/pkgbuild/dracut.spec b/pkgbuild/dracut.spec index a084a74aa..9d266b689 100644 --- a/pkgbuild/dracut.spec +++ b/pkgbuild/dracut.spec @@ -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