Merge: redhat/kernel.spec.template: Switch UKI addons back to 504 cert

MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/3282

JIRA: https://redhat.atlassian.net/browse/RHEL-238666

To make kernel's PCR7 measurement the same when UKI cmdline addons are used
and when they are not, the addons must be signed by the same cert as the
UKI. The switch to 801 was accidential.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>

Approved-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Approved-by: Jan Stancek <jstancek@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>
This commit is contained in:
CKI KWF Bot
2026-08-13 08:29:55 +00:00
+1 -1
View File
@@ -2919,7 +2919,7 @@ BuildKernel() {
mv $KernelUnifiedImage.signed $KernelUnifiedImage
for addon in "$KernelAddonsDirOut"/*; do
%pesign -s -i $addon -o $addon.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n $pesign_name_0
%pesign -s -i $addon -o $addon.signed -a %{secureboot_ca_0} -c %{secureboot_key_uki_0} -n $pesign_name_uki_0
rm -f $addon
mv $addon.signed $addon
done