]> code.ossystems Code Review - openembedded-core.git/commitdiff
image: Ensure we don't expand TMPDIR in image commands
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Jan 2016 00:21:44 +0000 (00:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jan 2016 16:35:37 +0000 (16:35 +0000)
Similarly to DATETIME, don't expand TMPDIR in image commands.
This ensures some of the stamp comparisons we make in the
QA tests work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index a2e966e7ad06f64e7cd6d33f0d33e2b400d8596b..e85869da7b2a275b91c3112d65e9984ecab308fb 100644 (file)
@@ -369,7 +369,9 @@ python () {
         # Delete DATETIME so we don't expand any references to it now
         # This means the task's hash can be stable rather than having hardcoded
         # date/time values. It will get expanded at execution time.
+        # Similarly TMPDIR since otherwise we see QA stamp comparision problems
         localdata.delVar('DATETIME')
+        localdata.delVar('TMPDIR')
 
         image_cmd = localdata.getVar("IMAGE_CMD", True)
         vardeps.add('IMAGE_CMD_' + realt)