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