Skip to content

Commit 98b61c5

Browse files
author
Herton R. Krzesinski
committed
Merge: redhat: Include Azure CVM specific udev rules into UKI's initramfs
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1985 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2165913 Depends: !1736 Upstream Status: RHEL only WALinuxAgent-cvm package contains Azure specifc udev rules to perform sealed LUKS tokens import on block devices. This is requires to support remotely sealed credentials for root volume which needs to be mounted in initramfs. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Approved-by: Mohamed Gamal Morsy <mgamal@redhat.com> Approved-by: Herton R. Krzesinski <herton@redhat.com> Approved-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2 parents c401b55 + 6604298 commit 98b61c5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

redhat/dracut-virt.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ dracutmodules+=" dm lvm rootfs-block fs-lib "
1414
# modules: tpm and crypto
1515
dracutmodules+=" crypt crypt-loop tpm2-tss "
1616

17+
# WALinuxagent-cvm with CVM specific udev rules
18+
dracutmodules+=" walinuxagentcvm "
19+
1720
# drivers: virtual buses, pci
1821
drivers+=" virtio-pci virtio-mmio " # qemu-kvm
1922
drivers+=" hv-vmbus pci-hyperv " # hyperv

redhat/kernel.spec.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ BuildRequires: systemd-boot-unsigned
742742
BuildRequires: systemd-udev >= 252-1
743743
# For TPM operations in UKI initramfs
744744
BuildRequires: tpm2-tools
745+
# For Azure CVM specific udev rules
746+
BuildRequires: WALinuxAgent-cvm
745747
%endif
746748

747749
# Because this is the kernel, it's hard to get a single upstream URL

0 commit comments

Comments
 (0)