aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Zinghini <aaron.zinghini@seeingmachines.com>2017-02-14 10:20:55 -0700
committerPatrick Ohly <patrick.ohly@intel.com>2017-02-17 08:35:44 +0100
commit46a659a14b3c5ccccad57f0325ad5a474b9b80bf (patch)
tree99aa2f028cd5a506d1e42cb201bac433a957a09b
parent03e2c99ec1a2ffeee39344aff109746a2e76449c (diff)
downloadmeta-swupd-46a659a14b3c5ccccad57f0325ad5a474b9b80bf.tar.gz
meta-swupd-46a659a14b3c5ccccad57f0325ad5a474b9b80bf.tar.bz2
meta-swupd-46a659a14b3c5ccccad57f0325ad5a474b9b80bf.zip
swupd-image.bbclass: add missing expand arg in getVars
Add "True" to d.getVar() to avoid forking a little while longer. The expand arg has been set to true by default in master branch and breaks compatibility with branches. Signed-off-by: Aaron Zinghini <aaron.zinghini@seeingmachines.com>
-rw-r--r--classes/swupd-image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/swupd-image.bbclass b/classes/swupd-image.bbclass
index 771a416..645adab 100644
--- a/classes/swupd-image.bbclass
+++ b/classes/swupd-image.bbclass
@@ -154,7 +154,7 @@ python () {
mega_rootfs = mega_rootfs.replace('/' + pn +'/', '/bundle-%s-mega/' % (pn_base or pn))
d.setVar('MEGA_IMAGE_ROOTFS', mega_rootfs)
mega_archive = mega_rootfs + '.tar'
- workdir = d.getVar('WORKDIR')
+ workdir = d.getVar('WORKDIR', True)
d.setVar('MEGA_IMAGE_ARCHIVE', mega_archive)
mega_archive_rel = os.path.relpath(mega_archive, workdir)
if os.path.sep not in mega_archive_rel: