From 0e169cd285d42252b925a2c77bcd4b2be676bb99 Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Thu, 16 Jan 2025 14:32:31 +0100 Subject: [PATCH] images: balena-image*: Set balenaos-img.sig image type for signed builds This triggers the signing of images for secure boot builds. Change-type: patch Signed-off-by: Alex Gonzalez --- meta-balena-common/recipes-core/images/balena-image-flasher.bb | 2 +- meta-balena-common/recipes-core/images/balena-image.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-balena-common/recipes-core/images/balena-image-flasher.bb b/meta-balena-common/recipes-core/images/balena-image-flasher.bb index 0d6ee55d1f..e1a4e17000 100644 --- a/meta-balena-common/recipes-core/images/balena-image-flasher.bb +++ b/meta-balena-common/recipes-core/images/balena-image-flasher.bb @@ -8,7 +8,7 @@ REQUIRED_DISTRO_FEATURES += " systemd" BALENA_FLAG_FILE = "${BALENA_FLASHER_FLAG_FILE}" -IMAGE_FSTYPES = "balenaos-img" +IMAGE_FSTYPES = "${@oe.utils.conditional('SIGN_API','','balenaos-img','balenaos-img.sig',d)}" BALENA_ROOT_FSTYPE = "ext4" diff --git a/meta-balena-common/recipes-core/images/balena-image.bb b/meta-balena-common/recipes-core/images/balena-image.bb index 8fd555fee7..6e1c198dba 100644 --- a/meta-balena-common/recipes-core/images/balena-image.bb +++ b/meta-balena-common/recipes-core/images/balena-image.bb @@ -16,7 +16,7 @@ IMAGE_OVERHEAD_FACTOR = "1.0" IMAGE_ROOTFS_EXTRA_SPACE = "0" IMAGE_ROOTFS_MAXSIZE = "${IMAGE_ROOTFS_SIZE}" -IMAGE_FSTYPES = "balenaos-img" +IMAGE_FSTYPES = "${@oe.utils.conditional('SIGN_API','','balenaos-img','balenaos-img.sig',d)}" inherit core-image image-balena features_check