summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorcajun-rat <p@beta16.co.uk>2017-04-11 14:40:07 +0200
committerGitHub <noreply@github.com>2017-04-11 14:40:07 +0200
commit21927f5acb9a4bce1d210507573949d2df4580ba (patch)
tree350c6128ae4d211102b06b60e8dcb9d32fbcb3ca /scripts/lib
parent25199f1b47aeea15e56b17aced5c310bf1dd1208 (diff)
parente36a7821467fe3ae3f22e0ca67b91ebb3e65d2cb (diff)
downloadmeta-updater-21927f5acb9a4bce1d210507573949d2df4580ba.tar.gz
Merge pull request #45 from advancedtelematic/bugfix/aglcompat
Add tweaks for compatibility with AGL
Diffstat (limited to 'scripts/lib')
-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