diff options
Diffstat (limited to 'scripts/lib/wic/plugins/source/otaimage.py')
-rw-r--r-- | scripts/lib/wic/plugins/source/otaimage.py | 5 |
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 | ||