From 646eadf53cff41eae838fdc00dca663a405da144 Mon Sep 17 00:00:00 2001 From: Pavel Valena Date: Thu, 25 Aug 2022 07:02:13 +0200 Subject: [PATCH] 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. Resolves: #2077697 --- dracut.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dracut.spec b/dracut.spec index 3d5018e..d64d94f 100644 --- a/dracut.spec +++ b/dracut.spec @@ -69,6 +69,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 @@ -434,6 +435,7 @@ echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/ %changelog * Thu Aug 25 2022 Pavel Valena - 057-3 - Re-add patch Never-enable-the-bluetooth-module-by-default-1521 +- Recommend tpm2-tools package, as it's required by crypt module * Tue Aug 16 2022 Pavel Valena - 057-2 - dmsquash-live-root: Run checkisomd5 on correct device