Skip to contentSkip to conversation

deploy: Mark deploy tasks as MACHINE specific

PATCH New Richard Purdie 1 participant 1 message Sep 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 deploy: Mark deploy tasks as MACHINE specific

This adds the markup to inform bitbake to rerun the deploy task per MACHINE. This makes sense since DEPLOY_DIR_IMAGE contains MACHINE. Doing it this way means the same artefact will be reused from sstate rather than rebuilt.

meta/classes/deploy.bbclass +1 -0
index d93c7a4..6cf84ed 100644
@@ -10,3 +10,4 @@ python do_deploy_setscene () {
 }
 addtask do_deploy_setscene
 do_deploy[dirs] = "${DEPLOYDIR} ${B}"
+do_deploy[stamp-extra-info] = "${MACHINE}"