summaryrefslogtreecommitdiffstats
path: root/scripts/wic
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-03-24 01:55:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 08:15:07 +0100
commit4ca286d45cb9fd9234ac9e10341f326329f705bf (patch)
tree18fe8b5b06a880dd80df18c3eff45dea3032e213 /scripts/wic
parentc8fd68adc0a94aaef7fe4ee9b3e0bb524155bc55 (diff)
downloadpoky-4ca286d45cb9fd9234ac9e10341f326329f705bf.tar.gz
scripts/wic: fix typo
roofs -> rootfs (From OE-Core rev: 131629ca6238ea0596f5dd11d659ce2ca63067a4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-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):