[OE-core] [PATCH 1/1] image.bbclass: don't expand IMAGE_CMD when setting do_image task
Matt Madison
matt at madison.systems
Wed Apr 27 12:32:03 UTC 2016
Expanding it causes the do_image_x function to include values of
variables that may contain date/time stamps, rather than references
to the variable names, leading to spurious taskhash mismatch errors.
Signed-off-by: Matt Madison <matt at madison.systems>
---
meta/classes/image.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 8bfd241..d695d30 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -380,7 +380,7 @@ python () {
localdata.delVar('DATETIME')
localdata.delVar('TMPDIR')
- image_cmd = localdata.getVar("IMAGE_CMD", True)
+ image_cmd = localdata.getVar("IMAGE_CMD", False)
vardeps.add('IMAGE_CMD_' + realt)
if image_cmd:
cmds.append("\t" + image_cmd)
--
2.7.4
More information about the Openembedded-core
mailing list