diff options
Diffstat (limited to 'scripts/lib')
| -rw-r--r-- | scripts/lib/image/engine.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index f1df8b4db8..3813fec609 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py | |||
| @@ -67,7 +67,8 @@ def find_artifacts(image_name): | |||
| 67 | """ | 67 | """ |
| 68 | bitbake_env_lines = get_bitbake_env_lines() | 68 | bitbake_env_lines = get_bitbake_env_lines() |
| 69 | 69 | ||
| 70 | rootfs_dir = kernel_dir = hdddir = staging_data_dir = native_sysroot = "" | 70 | rootfs_dir = kernel_dir = bootimg_dir = "" |
| 71 | hdddir = staging_data_dir = native_sysroot = "" | ||
| 71 | 72 | ||
| 72 | for line in bitbake_env_lines.split('\n'): | 73 | for line in bitbake_env_lines.split('\n'): |
| 73 | if (get_line_val(line, "IMAGE_ROOTFS")): | 74 | if (get_line_val(line, "IMAGE_ROOTFS")): |
| @@ -85,8 +86,12 @@ def find_artifacts(image_name): | |||
| 85 | if (get_line_val(line, "STAGING_DIR_NATIVE")): | 86 | if (get_line_val(line, "STAGING_DIR_NATIVE")): |
| 86 | native_sysroot = get_line_val(line, "STAGING_DIR_NATIVE") | 87 | native_sysroot = get_line_val(line, "STAGING_DIR_NATIVE") |
| 87 | continue | 88 | continue |
| 89 | if (get_line_val(line, "DEPLOY_DIR_IMAGE")): | ||
| 90 | bootimg_dir = get_line_val(line, "DEPLOY_DIR_IMAGE") | ||
| 91 | continue | ||
| 88 | 92 | ||
| 89 | return (rootfs_dir, kernel_dir, hdddir, staging_data_dir, native_sysroot) | 93 | return (rootfs_dir, kernel_dir, bootimg_dir, hdddir, staging_data_dir, \ |
| 94 | native_sysroot) | ||
| 90 | 95 | ||
| 91 | 96 | ||
| 92 | CANNED_IMAGE_DIR = "lib/image/canned-wks" # relative to scripts | 97 | CANNED_IMAGE_DIR = "lib/image/canned-wks" # relative to scripts |
