Skip to content

Commit 071b3c9

Browse files
author
CKI KWF Bot
committed
Merge: uki-virt: add systemd-repart module
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/7210 JIRA: https://issues.redhat.com/browse/RHEL-107273 Upstream Status: RHEL only Add systemd-repart module to dracut-virt.conf. Until RHEL-103385 is not merged, mkfs.\* is not present in dracut therefore we need to manually inject it. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Approved-by: Vitaly Kuznetsov <vkuznets@redhat.com> Approved-by: Patrick Talbert <ptalbert@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2 parents 18632ff + 891b126 commit 071b3c9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

redhat/dracut-virt.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ dracutmodules+=" crypt crypt-loop tpm2-tss systemd-pcrphase "
1717
# modules: root disk integrity protection
1818
dracutmodules+=" systemd-veritysetup "
1919

20+
# modules: root creation and encryption
21+
dracutmodules+=" systemd-repart "
22+
# FIXME: remove this once RHEL-103385 is merged
23+
install_items+=" /usr/sbin/mkfs.vfat /usr/sbin/mkfs.ext4 /usr/sbin/mkfs.xfs "
24+
2025
# modules: FIPS
2126
dracutmodules+=" fips "
2227
# FIPS mode requires early crypto drivers test

redhat/kernel.spec.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ BuildRequires: lvm2
754754
BuildRequires: systemd-boot-unsigned
755755
# For systemd-pcrphase
756756
BuildRequires: systemd-udev >= 252-1
757+
# For systemd-repart
758+
BuildRequires: xfsprogs e2fsprogs dosfstools
757759
# For UKI kernel cmdline addons
758760
BuildRequires: systemd-ukify
759761
# For TPM operations in UKI initramfs

0 commit comments

Comments
 (0)