aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-21 00:00:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-21 00:00:54 +0000
commiteb5ca672c793e7c2151e7f2fef26e0c25130d840 (patch)
treeaade84bc7196b35697707970a1e0ae54428105ba
parent9ce26c121f52d5194732be34f93e86128e1fdeaf (diff)
downloadopenembedded-core-eb5ca672c793e7c2151e7f2fef26e0c25130d840.zip
openembedded-core-eb5ca672c793e7c2151e7f2fef26e0c25130d840.tar.gz
openembedded-core-eb5ca672c793e7c2151e7f2fef26e0c25130d840.tar.bz2
image: Fix previous broken commit to set expand parameter to getVar
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 3e6b6e1..92b09ab 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -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')