Skip to contentSkip to conversation

baremetal-helloworld: Fix IMGDEPLOYDIR expansion

PATCH New Alejandro Hernandez 1 participant 1 message Apr 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../baremetal-examples/baremetal-helloworld_git.bb               | 1 +
 1 file changed, 1 insertion(+)
meta-skeleton/recipes-baremetal/baremetal-examples/baremetal-helloworld_git.bb +1 -0
index d8633702fc..e84a90f28c 100644
@@ -37,6 +37,7 @@ do_install(){
 # Borrowed from meta-freertos
 inherit rootfs-postcommands
 inherit deploy
+IMGDEPLOYDIR ?= "${WORKDIR}/deploy-${PN}-image-complete"
 do_deploy[dirs] = "${DEPLOYDIR} ${DEPLOY_DIR_IMAGE}"
 do_rootfs[dirs] = "${DEPLOYDIR} ${DEPLOY_DIR_IMAGE}"
 DEPLOYDIR = "${IMGDEPLOYDIR}"
Signature · 1 line
2.17.1