diff options
| -rw-r--r-- | scripts/lib/image/engine.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index e794545e94..68d1ce2659 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py | |||
| @@ -73,8 +73,8 @@ def find_artifacts(image_name): | |||
| 73 | if (get_line_val(line, "IMAGE_ROOTFS")): | 73 | if (get_line_val(line, "IMAGE_ROOTFS")): |
| 74 | rootfs_dir = get_line_val(line, "IMAGE_ROOTFS") | 74 | rootfs_dir = get_line_val(line, "IMAGE_ROOTFS") |
| 75 | continue | 75 | continue |
| 76 | if (get_line_val(line, "STAGING_KERNEL_DIR")): | 76 | if (get_line_val(line, "DEPLOY_DIR_IMAGE")): |
| 77 | kernel_dir = get_line_val(line, "STAGING_KERNEL_DIR") | 77 | kernel_dir = get_line_val(line, "DEPLOY_DIR_IMAGE") |
| 78 | continue | 78 | continue |
| 79 | if (get_line_val(line, "STAGING_DIR_NATIVE")): | 79 | if (get_line_val(line, "STAGING_DIR_NATIVE")): |
| 80 | native_sysroot = get_line_val(line, "STAGING_DIR_NATIVE") | 80 | native_sysroot = get_line_val(line, "STAGING_DIR_NATIVE") |
| @@ -200,7 +200,7 @@ def wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir, | |||
| 200 | values from the output of 'bitbake -e': | 200 | values from the output of 'bitbake -e': |
| 201 | 201 | ||
| 202 | rootfs_dir: IMAGE_ROOTFS | 202 | rootfs_dir: IMAGE_ROOTFS |
| 203 | kernel_dir: STAGING_KERNEL_DIR | 203 | kernel_dir: DEPLOY_DIR_IMAGE |
| 204 | native_sysroot: STAGING_DIR_NATIVE | 204 | native_sysroot: STAGING_DIR_NATIVE |
| 205 | 205 | ||
| 206 | In the above case, bootimg_dir remains unset and the | 206 | In the above case, bootimg_dir remains unset and the |
