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 d93de02b75..d88ce5c07f 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') |
