Skip to content

Commit

Permalink
images: balena-image*: Set balenaos-img.sig image type for signed builds
Browse files Browse the repository at this point in the history
This triggers the signing of images for secure boot builds.

Change-type: patch
Signed-off-by: Alex Gonzalez <[email protected]>
  • Loading branch information
alexgg committed Jan 16, 2025
1 parent 95b9cdc commit 9f60217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion meta-balena-common/recipes-core/images/balena-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9f60217

Please sign in to comment.