aboutsummaryrefslogtreecommitdiffstats
path: root/classes/swupd-image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/swupd-image.bbclass')
-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: