From: Gerd Hoffmann <kra...@redhat.com>

uki: use systemd-pcrphase dracut module

dracut in Fedora 39 ships a systemd-pcrphase module.
Use that instead of copying over files manually via
install_items+="..."

Signed-off-by: Gerd Hoffmann <kra...@redhat.com>

diff --git a/redhat/dracut-virt.conf b/redhat/dracut-virt.conf
index blahblah..blahblah 100644
--- a/redhat/dracut-virt.conf
+++ b/redhat/dracut-virt.conf
@@ -12,7 +12,7 @@ dracutmodules+=" base systemd systemd-initrd dracut-systemd 
dbus dbus-broker usr
 dracutmodules+=" dm lvm rootfs-block fs-lib "
 
 # modules: tpm and crypto
-dracutmodules+=" crypt crypt-loop tpm2-tss "
+dracutmodules+=" crypt crypt-loop tpm2-tss systemd-pcrphase "
 
 # modules: support root on virtiofs
 dracutmodules+=" virtiofs "
@@ -36,6 +36,3 @@ drivers+=" dm_crypt "
 
 # filesystems
 filesystems+=" vfat ext4 xfs overlay "
-
-# systemd-pcrphase
-install_items+=" /lib/systemd/system/systemd-pcrphase-initrd.service 
/usr/lib/systemd/systemd-pcrphase 
/usr/lib/systemd/system/initrd.target.wants/systemd-pcrphase-initrd.service "

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2955
--
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to