diff options
Diffstat (limited to 'scripts/lib/image')
-rw-r--r-- | scripts/lib/image/engine.py | 6 | ||||
-rw-r--r-- | scripts/lib/image/help.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index 05c26386e7..c568d695df 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py | |||
@@ -70,13 +70,13 @@ def find_artifacts(image_name): | |||
70 | rootfs_dir = kernel_dir = bootimg_dir = native_sysroot = "" | 70 | rootfs_dir = kernel_dir = bootimg_dir = native_sysroot = "" |
71 | 71 | ||
72 | for line in bitbake_env_lines.split('\n'): | 72 | for line in bitbake_env_lines.split('\n'): |
73 | if (misc.get_line_val(line, "IMAGE_ROOTFS")): | 73 | if misc.get_line_val(line, "IMAGE_ROOTFS"): |
74 | rootfs_dir = misc.get_line_val(line, "IMAGE_ROOTFS") | 74 | rootfs_dir = misc.get_line_val(line, "IMAGE_ROOTFS") |
75 | continue | 75 | continue |
76 | if (misc.get_line_val(line, "DEPLOY_DIR_IMAGE")): | 76 | if misc.get_line_val(line, "DEPLOY_DIR_IMAGE"): |
77 | kernel_dir = misc.get_line_val(line, "DEPLOY_DIR_IMAGE") | 77 | kernel_dir = misc.get_line_val(line, "DEPLOY_DIR_IMAGE") |
78 | continue | 78 | continue |
79 | if (misc.get_line_val(line, "STAGING_DIR_NATIVE")): | 79 | if misc.get_line_val(line, "STAGING_DIR_NATIVE"): |
80 | native_sysroot = misc.get_line_val(line, "STAGING_DIR_NATIVE") | 80 | native_sysroot = misc.get_line_val(line, "STAGING_DIR_NATIVE") |
81 | continue | 81 | continue |
82 | 82 | ||
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py index 93211498d5..886437ba60 100644 --- a/scripts/lib/image/help.py +++ b/scripts/lib/image/help.py | |||
@@ -53,7 +53,7 @@ def wic_help(args, usage_str, subcommands): | |||
53 | Subcommand help dispatcher. | 53 | Subcommand help dispatcher. |
54 | """ | 54 | """ |
55 | if len(args) == 1 or not display_help(args[1], subcommands): | 55 | if len(args) == 1 or not display_help(args[1], subcommands): |
56 | print(usage_str) | 56 | print usage_str |
57 | 57 | ||
58 | 58 | ||
59 | def get_wic_plugins_help(): | 59 | def get_wic_plugins_help(): |