summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index ec940a4b65..4531aa2a57 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -441,6 +441,8 @@ python () {
441 # This means the task's hash can be stable rather than having hardcoded 441 # This means the task's hash can be stable rather than having hardcoded
442 # date/time values. It will get expanded at execution time. 442 # date/time values. It will get expanded at execution time.
443 # Similarly TMPDIR since otherwise we see QA stamp comparision problems 443 # Similarly TMPDIR since otherwise we see QA stamp comparision problems
444 # Expand PV else it can trigger get_srcrev which can fail due to these variables being unset
445 localdata.setVar('PV', d.getVar('PV'))
444 localdata.delVar('DATETIME') 446 localdata.delVar('DATETIME')
445 localdata.delVar('DATE') 447 localdata.delVar('DATE')
446 localdata.delVar('TMPDIR') 448 localdata.delVar('TMPDIR')