summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/image/engine.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py
index be29222df1..b3a9c7486e 100644
--- a/scripts/lib/image/engine.py
+++ b/scripts/lib/image/engine.py
@@ -82,6 +82,8 @@ def find_artifacts(image_name):
82 print "Couldn't get '%s' output, exiting." % bitbake_env_cmd 82 print "Couldn't get '%s' output, exiting." % bitbake_env_cmd
83 sys.exit(1) 83 sys.exit(1)
84 84
85 rootfs_dir = kernel_dir = hdddir = staging_data_dir = native_sysroot = ""
86
85 for line in bitbake_env_lines.split('\n'): 87 for line in bitbake_env_lines.split('\n'):
86 if (get_line_val(line, "IMAGE_ROOTFS")): 88 if (get_line_val(line, "IMAGE_ROOTFS")):
87 rootfs_dir = get_line_val(line, "IMAGE_ROOTFS") 89 rootfs_dir = get_line_val(line, "IMAGE_ROOTFS")