]> code.ossystems Code Review - openembedded-core.git/commitdiff
image: Fix previous broken commit to set expand parameter to getVar
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Jan 2018 00:00:54 +0000 (00:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Jan 2018 00:00:54 +0000 (00:00 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 3e6b6e1ea241193fc09205fc11d5122d1f89d17f..92b09ab1e26373d38ac8787516b7b91fccf66d16 100644 (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')