diff options
| -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 d10d0a0e5e..4bcfb87c9c 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
| @@ -423,6 +423,8 @@ python () { | |||
| 423 | # This means the task's hash can be stable rather than having hardcoded | 423 | # This means the task's hash can be stable rather than having hardcoded |
| 424 | # date/time values. It will get expanded at execution time. | 424 | # date/time values. It will get expanded at execution time. |
| 425 | # Similarly TMPDIR since otherwise we see QA stamp comparision problems | 425 | # Similarly TMPDIR since otherwise we see QA stamp comparision problems |
| 426 | # Expand PV else it can trigger get_srcrev which can fail due to these variables being unset | ||
| 427 | localdata.setVar('PV', d.getVar('PV')) | ||
| 426 | localdata.delVar('DATETIME') | 428 | localdata.delVar('DATETIME') |
| 427 | localdata.delVar('TMPDIR') | 429 | localdata.delVar('TMPDIR') |
| 428 | 430 | ||
