summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-04-11 11:18:02 +0200
committerAnton Gerasimov <anton@advancedtelematic.com>2017-04-11 11:18:02 +0200
commite36a7821467fe3ae3f22e0ca67b91ebb3e65d2cb (patch)
tree38d4423412dcf306178a889cd2c8421281f91914 /scripts/lib/wic
parent7309d7b568358841e01af3044735f4e46f2d9b88 (diff)
downloadmeta-updater-e36a7821467fe3ae3f22e0ca67b91ebb3e65d2cb.tar.gz
Add tweaks for compatibility with AGL
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r--scripts/lib/wic/plugins/source/otaimage.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/source/otaimage.py b/scripts/lib/wic/plugins/source/otaimage.py
index 016c996..dc507a8 100644
--- a/scripts/lib/wic/plugins/source/otaimage.py
+++ b/scripts/lib/wic/plugins/source/otaimage.py
@@ -55,10 +55,9 @@ class OTAImagePlugin(SourcePlugin):
55 Called to do the actual content population for a partition i.e. it 55 Called to do the actual content population for a partition i.e. it
56 'prepares' the partition to be incorporated into the image. 56 'prepares' the partition to be incorporated into the image.
57 """ 57 """
58 bootimg_dir = get_bitbake_var("DEPLOY_DIR_IMAGE")
58 if not bootimg_dir: 59 if not bootimg_dir:
59 bootimg_dir = get_bitbake_var("DEPLOY_DIR_IMAGE") 60 msger.error("Couldn't find DEPLOY_DIR_IMAGE, exiting\n")
60 if not bootimg_dir:
61 msger.error("Couldn't find DEPLOY_DIR_IMAGE, exiting\n")
62 61
63 msger.debug('Bootimg dir: %s' % bootimg_dir) 62 msger.debug('Bootimg dir: %s' % bootimg_dir)
64 63