Skip to content

Commit 6604298

Browse files
committed
redhat: Include Azure CVM specific udev rules into UKI's initramfs
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2165913 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>
1 parent dff10a9 commit 6604298

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)