summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2018-04-06 20:26:55 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-10 09:10:36 +0100
commit144faeb10c79cc50249143591c63e500cbb9849e (patch)
treed698fcc75f8341241ea013e98aba2bc9a04cfb37 /meta/classes/image.bbclass
parent29f65bda6d2c9fea4adb125c4857ee64f9312b9f (diff)
downloadpoky-144faeb10c79cc50249143591c63e500cbb9849e.tar.gz
classes: Use ${MACHINE_ARCH} instead of ${MACHINE} for stamp-extra-info task flag
Without this change, there will be two sstate index files in tmp/sstate-control for any machine that contains a dash in the name. (From OE-Core rev: 29e7799bdb3773c40492e01448e0c614ed44583d) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 1636eed6b0..2247b305da 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -289,7 +289,7 @@ SSTATETASKS += "do_image_complete"
289SSTATE_SKIP_CREATION_task-image-complete = '1' 289SSTATE_SKIP_CREATION_task-image-complete = '1'
290do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}" 290do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}"
291do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}" 291do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"
292do_image_complete[stamp-extra-info] = "${MACHINE}" 292do_image_complete[stamp-extra-info] = "${MACHINE_ARCH}"
293addtask do_image_complete after do_image before do_build 293addtask do_image_complete after do_image before do_build
294python do_image_complete_setscene () { 294python do_image_complete_setscene () {
295 sstate_setscene(d) 295 sstate_setscene(d)