]> git.ipfire.org Git - thirdparty/systemd.git/commit
kernel-install/60-ukify: do not rebuild existing UKIs
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 25 Mar 2024 10:18:25 +0000 (11:18 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Mar 2024 18:01:30 +0000 (03:01 +0900)
commitdf94b28366db1636053bc7f833f0e97c66292635
treeefea806aebb72a8875dc8ee6f7f46c903d7f1fb2
parent0ffcf398e524e285cd5252a8a16a19a831f0a548
kernel-install/60-ukify: do not rebuild existing UKIs

In case kernel-install is called to install what's already a UKI, 60-ukify
must be skipped. E.g. when distro shipped and signed UKI is being installed,
it is counter-productive to try to rebuild it with ukify. Also, the existing
script is not ready to handle UKIs with embedded initramfs.

Note, it is already possible to disable 60-ukify by setting
KERNEL_INSTALL_UKI_GENERATOR to something but in case it is not set, 60-ukify
assumes it should run.
src/kernel-install/60-ukify.install.in