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