]> code.ossystems Code Review - openembedded-core.git/commitdiff
deploy: Mark deploy tasks as MACHINE specific
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Sep 2015 13:52:20 +0000 (14:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Oct 2015 06:40:35 +0000 (07:40 +0100)
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>
meta/classes/deploy.bbclass

index 78f5e4a7baccc2dfea1cb34962161c3acf35868d..8ad07da015f605a2e7047f5ee724d698e34c66c0 100644 (file)
@@ -8,3 +8,4 @@ python do_deploy_setscene () {
 }
 addtask do_deploy_setscene
 do_deploy[dirs] = "${DEPLOYDIR} ${B}"
+do_deploy[stamp-extra-info] = "${MACHINE}"