diff options
author | Alejandro Hernandez <alejandro@enedino.org> | 2020-04-27 15:33:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-29 15:02:19 +0100 |
commit | 48a8eb0fc207d4e97f8d5d43bda4600767b5a07b (patch) | |
tree | 963fa5d2c13b31de30107078e5947c2bc41a2023 /meta-skeleton/recipes-baremetal | |
parent | 87a2e7c43d463a0b2ecc48a8a45a1954cf68c0a8 (diff) | |
download | poky-48a8eb0fc207d4e97f8d5d43bda4600767b5a07b.tar.gz |
baremetal-helloworld: Fix IMGDEPLOYDIR expansion
IMGDEPLOYDIR is not being expanded anymore, this causes
do_rootfs to fail because it can't create the manifest file,
we can set it to the default being set on image.bbclass since
this is only a decoy function anyway to satisfy testimage,
this makes do_rootfs happy and allows it to continue.
(From OE-Core rev: 06ed491e30b47b8c5f89746e890519dd7de800fd)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton/recipes-baremetal')
-rw-r--r-- | meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb b/meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb index d8633702fc..e84a90f28c 100644 --- a/meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb +++ b/meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb | |||
@@ -37,6 +37,7 @@ do_install(){ | |||
37 | # Borrowed from meta-freertos | 37 | # Borrowed from meta-freertos |
38 | inherit rootfs-postcommands | 38 | inherit rootfs-postcommands |
39 | inherit deploy | 39 | inherit deploy |
40 | IMGDEPLOYDIR ?= "${WORKDIR}/deploy-${PN}-image-complete" | ||
40 | do_deploy[dirs] = "${DEPLOYDIR} ${DEPLOY_DIR_IMAGE}" | 41 | do_deploy[dirs] = "${DEPLOYDIR} ${DEPLOY_DIR_IMAGE}" |
41 | do_rootfs[dirs] = "${DEPLOYDIR} ${DEPLOY_DIR_IMAGE}" | 42 | do_rootfs[dirs] = "${DEPLOYDIR} ${DEPLOY_DIR_IMAGE}" |
42 | DEPLOYDIR = "${IMGDEPLOYDIR}" | 43 | DEPLOYDIR = "${IMGDEPLOYDIR}" |