summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/wic4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/wic b/scripts/wic
index 8e9c05c18c..a5f2dbfc6f 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -146,7 +146,7 @@ def wic_create_subcommand(args, usage_str):
146 raise WicError("Wrong number of arguments, exiting") 146 raise WicError("Wrong number of arguments, exiting")
147 147
148 if options.build_rootfs and not bitbake_main: 148 if options.build_rootfs and not bitbake_main:
149 raise WicError("Can't build roofs as bitbake is not in the $PATH") 149 raise WicError("Can't build rootfs as bitbake is not in the $PATH")
150 150
151 if not options.image_name: 151 if not options.image_name:
152 missed = [] 152 missed = []
@@ -223,7 +223,7 @@ def wic_create_subcommand(args, usage_str):
223 kernel_dir = options.kernel_dir 223 kernel_dir = options.kernel_dir
224 native_sysroot = options.native_sysroot 224 native_sysroot = options.native_sysroot
225 if rootfs_dir and not os.path.isdir(rootfs_dir): 225 if rootfs_dir and not os.path.isdir(rootfs_dir):
226 raise WicError("--roofs-dir (-r) not found, exiting") 226 raise WicError("--rootfs-dir (-r) not found, exiting")
227 if not os.path.isdir(bootimg_dir): 227 if not os.path.isdir(bootimg_dir):
228 raise WicError("--bootimg-dir (-b) not found, exiting") 228 raise WicError("--bootimg-dir (-b) not found, exiting")
229 if not os.path.isdir(kernel_dir): 229 if not os.path.isdir(kernel_dir):