Skip to content

Commit

Permalink
Fix build failing in do_image_ubimg task
Browse files Browse the repository at this point in the history
do_image_ubimg was allowed to run before do_deploy_append_mender-uboot
was executed, leading to it not finding uboot.env in the deployment
area. This fixes the problem by forcing the deploy to happen before
do_package, which the image targets will naturally depend on.

Changelog: Title

Signed-off-by: Jonas Norling <jonas.norling@greeneggs.se>
(cherry picked from commit 99d5485)
  • Loading branch information
JonasNorling authored and kacf committed May 9, 2019
1 parent d7b342f commit 772642c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-mender-core/recipes-bsp/u-boot/u-boot-mender.inc
Expand Up @@ -52,4 +52,4 @@ do_deploy_append_mender-uboot() {
dd if=/dev/zero of=${WORKDIR}/uboot.env bs=${MENDER_BOOTENV_TOTAL_ALIGNED_SIZE} count=1
install -m 644 ${WORKDIR}/uboot.env ${DEPLOYDIR}/uboot.env
}
addtask deploy after do_compile
addtask deploy after do_compile before do_package

0 comments on commit 772642c

Please sign in to comment.