From c4cce844ccd2d7136b14db38b9009898dbfc7d63 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Aug 02 2023 12:25:07 +0000 Subject: Include modules for IMA --- diff --git a/dracut.spec b/dracut.spec index 07d4269..1aa570b 100644 --- a/dracut.spec +++ b/dracut.spec @@ -7,7 +7,7 @@ %global __requires_exclude pkg-config # rpmdev-bumpspec and releng automation compatible variable -%global baserelease 11 +%global baserelease 12 Name: dracut Version: 059 @@ -225,13 +225,6 @@ rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00dash # we do not support mksh in the initramfs rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00mksh -%if %{defined _unitdir} -# with systemd IMA and selinux modules do not make sense -rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/96securityfs -rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/97masterkey -rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/98integrity -%endif - %ifnarch s390 s390x # remove architecture specific modules rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/80cms @@ -389,11 +382,9 @@ echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/ %{dracutlibdir}/modules.d/95zfcp %{dracutlibdir}/modules.d/95zfcp_rules %endif -%if %{undefined _unitdir} %{dracutlibdir}/modules.d/96securityfs %{dracutlibdir}/modules.d/97masterkey %{dracutlibdir}/modules.d/98integrity -%endif %{dracutlibdir}/modules.d/97biosdevname %{dracutlibdir}/modules.d/98dracut-systemd %{dracutlibdir}/modules.d/98ecryptfs @@ -480,6 +471,9 @@ echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/ %{_prefix}/lib/kernel/install.d/51-dracut-rescue.install %changelog +* Wed Aug 02 2023 Peter Robinson - 059-12 +- Include modules for IMA + * Mon Jul 24 2023 Lukáš Nykrýn - 059-11 - fix(dracut.sh): use dynamically uefi's sections offset