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>
This commit is contained in:
Richard Purdie 2018-01-21 00:00:54 +00:00
parent 4696946d80
commit ac476b6aab

View File

@ -440,7 +440,7 @@ python () {
# date/time values. It will get expanded at execution time.
# Similarly TMPDIR since otherwise we see QA stamp comparision problems
# Expand PV else it can trigger get_srcrev which can fail due to these variables being unset
localdata.setVar('PV', d.getVar('PV'))
localdata.setVar('PV', d.getVar('PV', True))
localdata.delVar('DATETIME')
localdata.delVar('TMPDIR')