Skip to content

Commit 3f94fb3

Browse files
committed
redhat: use the same cert as UKI's to sign addons
JIRA: https://issues.redhat.com/browse/RHEL-124089 Upstream Status: RHEL only Addons' cert should be the same as UKI's. Otherwise it breaks full disk encryption of Azure CVM by changing PCR7 where volume key is sealed. Signed-off-by: Li Tian <litian@redhat.com>
1 parent 0855e43 commit 3f94fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redhat/kernel.spec.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,7 @@ BuildKernel() {
24372437
mv $KernelUnifiedImage.signed $KernelUnifiedImage
24382438

24392439
for addon in "$KernelAddonsDirOut"/*; do
2440-
%pesign -s -i $addon -o $addon.signed -a %{secureboot_ca_0} -c %{secureboot_key_0} -n %{pesign_name_0}
2440+
%pesign -s -i $addon -o $addon.signed -a %{secureboot_ca_0} -c $UKI_secureboot_cert -n $UKI_secureboot_name
24412441
rm -f $addon
24422442
mv $addon.signed $addon
24432443
done

0 commit comments

Comments
 (0)