diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2018-04-06 20:26:55 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-10 09:10:36 +0100 |
commit | 144faeb10c79cc50249143591c63e500cbb9849e (patch) | |
tree | d698fcc75f8341241ea013e98aba2bc9a04cfb37 /meta/classes/image.bbclass | |
parent | 29f65bda6d2c9fea4adb125c4857ee64f9312b9f (diff) | |
download | poky-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.bbclass | 2 |
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" | |||
289 | SSTATE_SKIP_CREATION_task-image-complete = '1' | 289 | SSTATE_SKIP_CREATION_task-image-complete = '1' |
290 | do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}" | 290 | do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}" |
291 | do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}" | 291 | do_image_complete[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}" |
292 | do_image_complete[stamp-extra-info] = "${MACHINE}" | 292 | do_image_complete[stamp-extra-info] = "${MACHINE_ARCH}" |
293 | addtask do_image_complete after do_image before do_build | 293 | addtask do_image_complete after do_image before do_build |
294 | python do_image_complete_setscene () { | 294 | python do_image_complete_setscene () { |
295 | sstate_setscene(d) | 295 | sstate_setscene(d) |