diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-21 00:00:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-21 00:01:03 +0000 |
commit | ac476b6aabca19b56ec7f0f79866decba8404e0b (patch) | |
tree | d0798470b9dd2089fb8cd3996800d86f410d2420 /meta/classes | |
parent | 4696946d8068996cdc3b798822f6df9c047cf610 (diff) | |
download | poky-ac476b6aabca19b56ec7f0f79866decba8404e0b.tar.gz |
image: Fix previous broken commit to set expand parameter to getVar
(From OE-Core rev: eb5ca672c793e7c2151e7f2fef26e0c25130d840)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 3e6b6e1ea2..92b09ab1e2 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -440,7 +440,7 @@ python () { | |||
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 | 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')) | 443 | localdata.setVar('PV', d.getVar('PV', True)) |
444 | localdata.delVar('DATETIME') | 444 | localdata.delVar('DATETIME') |
445 | localdata.delVar('TMPDIR') | 445 | localdata.delVar('TMPDIR') |
446 | 446 | ||