Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] deploy: Mark deploy tasks as MACHINE specific
@ 2015-09-30 13:52 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-09-30 13:52 UTC (permalink / raw)
  To: openembedded-core

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@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}"




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-30 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 13:52 [PATCH] deploy: Mark deploy tasks as MACHINE specific Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox