Skip to content

Commit

Permalink
classes: image-balena: provide board configuration hook
Browse files Browse the repository at this point in the history
Add a hook for boards to initialize boot partition configuration.

Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
  • Loading branch information
alexgg committed May 11, 2024
1 parent 593ce8d commit cda7d24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meta-balena-common/classes/image-balena.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ do_resin_boot_dirgen_and_deploy () {
done
echo "${IMAGE_NAME}" > ${BALENA_BOOT_WORKDIR}/image-version-info
init_config_json ${BALENA_BOOT_WORKDIR}
command -v init_board_config > /dev/null && init_board_config

# Keep this after everything is ready in the resin-boot directory
find ${BALENA_BOOT_WORKDIR} -xdev -type f \
Expand Down

0 comments on commit cda7d24

Please sign in to comment.