diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/lib/wic/plugins/source/otaimage.py | 4 | ||||
| -rw-r--r-- | scripts/qemucommand.py | 2 |
2 files changed, 3 insertions, 3 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 |
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py index 86362f7..4abfd4e 100644 --- a/scripts/qemucommand.py +++ b/scripts/qemucommand.py | |||
| @@ -6,7 +6,7 @@ from subprocess import check_output, CalledProcessError | |||
| 6 | 6 | ||
| 7 | EXTENSIONS = { | 7 | EXTENSIONS = { |
| 8 | 'intel-corei7-64': 'wic', | 8 | 'intel-corei7-64': 'wic', |
| 9 | 'qemux86-64': 'otaimg' | 9 | 'qemux86-64': 'ota-ext4' |
| 10 | } | 10 | } |
| 11 | 11 | ||
| 12 | 12 | ||
