]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(install.d): do not create initramfs if the supplied image is UKI
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 19 Sep 2023 15:36:37 +0000 (17:36 +0200)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Sat, 28 Oct 2023 00:09:00 +0000 (20:09 -0400)
commitb2af8c8bcfc72802e02e2c0adc2eed9279101624
tree1edcb6ac16fadb50bfdf131989018e471bee03d3
parentbee1c4824a8cd47ce6c01892a548bdc07b1fa678
fix(install.d): do not create initramfs if the supplied image is UKI

When the supplied kernel image is a UKI, there's no point in creating
initramfs as the UKI has it built-in already. This is the situation when
dracut.install is called for a distro shipped UKI.

Note, KERNEL_INSTALL_IMAGE_TYPE == "uki" is different from
KERNEL_INSTALL_LAYOUT == "uki", the later can be used to create UKI upon
installing a standard kernel image.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
install.d/50-dracut.install