[OE-core] [PATCH] deploy: Mark deploy tasks as MACHINE specific

Richard Purdie richard.purdie at linuxfoundation.org
Wed Sep 30 13:52:20 UTC 2015


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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

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





More information about the Openembedded-core mailing list