summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/source
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/source')
-rw-r--r--scripts/lib/wic/plugins/source/otaimage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/otaimage.py b/scripts/lib/wic/plugins/source/otaimage.py
index ee8088b..4b30776 100644
--- a/scripts/lib/wic/plugins/source/otaimage.py
+++ b/scripts/lib/wic/plugins/source/otaimage.py
@@ -39,13 +39,13 @@ class OTAImagePlugin(RawCopyPlugin):
39 Called to do the actual content population for a partition i.e. it 39 Called to do the actual content population for a partition i.e. it
40 'prepares' the partition to be incorporated into the image. 40 'prepares' the partition to be incorporated into the image.
41 """ 41 """
42 bootimg_dir = get_bitbake_var("DEPLOY_DIR_IMAGE") 42 bootimg_dir = get_bitbake_var("IMGDEPLOYDIR")
43 if not bootimg_dir: 43 if not bootimg_dir:
44 logger.error("Couldn't find DEPLOY_DIR_IMAGE, exiting\n") 44 logger.error("Couldn't find DEPLOY_DIR_IMAGE, exiting\n")
45 45
46 logger.debug('Bootimg dir: %s' % bootimg_dir) 46 logger.debug('Bootimg dir: %s' % bootimg_dir)
47 47
48 src = bootimg_dir + "/" + get_bitbake_var("IMAGE_LINK_NAME") + ".otaimg" 48 src = bootimg_dir + "/" + get_bitbake_var("IMAGE_LINK_NAME") + ".ota-ext4"
49 49
50 logger.debug('Preparing partition using image %s' % (src)) 50 logger.debug('Preparing partition using image %s' % (src))
51 source_params['file'] = src 51 source_params['file'] = src