Skip to content

Commit

Permalink
classes: kernel-balena: non-efi device types also use EFI signing for…
Browse files Browse the repository at this point in the history
… kexec

Remove the conditional to signing the kernel initramfs on EFI machine
features as kexec also requires this.

Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
  • Loading branch information
alexgg committed May 2, 2024
1 parent fc36626 commit 8b4f5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-balena-common/classes/kernel-balena.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ do_configure[vardeps] += " \

# Because we chain signatures here, the signed artifact is different for each
# and defined in :prepend for each task
SIGNING_ARTIFACTS_BASE = "${@bb.utils.contains('MACHINE_FEATURES', 'efi', "${B}/${KERNEL_OUTPUT_DIR}/${KERNEL_IMAGETYPE}.initramfs", '', d)}"
SIGNING_ARTIFACTS_BASE = "${B}/${KERNEL_OUTPUT_DIR}/${KERNEL_IMAGETYPE}.initramfs"
addtask sign_efi before do_deploy after do_bundle_initramfs
addtask sign_gpg before do_deploy after do_sign_efi

Expand Down

0 comments on commit 8b4f5dd

Please sign in to comment.