[OS-BUILD PATCH] uki: use systemd-pcrphase dracut module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Gerd Hoffmann <kraxel@xxxxxxxxxx>

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 <kraxel@xxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux