aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2018-01-20 23:52:56 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2018-01-20 23:52:56 +0000
commit0c295d3fcd9c3b2ad32c67944b52a90bf4e4dcd1 (patch)
tree6faa91ef433910c28093814b32403b6c483a9c7b
parent1557c75408103f181897a5ff11faccbfe1267687 (diff)
downloadopenembedded-core-contrib-jansa/morty.zip
openembedded-core-contrib-jansa/morty.tar.gz
openembedded-core-contrib-jansa/morty.tar.bz2
image.bbclass: add missing getVar parameterjansa/morty
* fixes: Exception: TypeError: getVar() missing 1 required positional argument: 'expand' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-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')