mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
wic: removed unused command line option
Removed -i/--infile wic command line option. Removed properties_file and properties arguments of wic_create function. (From OE-Core rev: 6b81c89878236b2ef8d8b8217f2e33286b49dab6) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a4da21d92f
commit
81e469b030
+3
-5
@@ -91,8 +91,6 @@ def wic_create_subcommand(args, usage_str):
|
||||
|
||||
parser.add_option("-o", "--outdir", dest="outdir",
|
||||
action="store", help="name of directory to create image in")
|
||||
parser.add_option("-i", "--infile", dest="properties_file",
|
||||
action="store", help="name of file containing the values for image properties as a JSON file")
|
||||
parser.add_option("-e", "--image-name", dest="image_name",
|
||||
action="store", help="name of the image to use the artifacts from e.g. core-image-sato")
|
||||
parser.add_option("-r", "--rootfs-dir", dest="rootfs_dir",
|
||||
@@ -132,7 +130,7 @@ def wic_create_subcommand(args, usage_str):
|
||||
if not options.image_name:
|
||||
options.build_check = False
|
||||
|
||||
if options.build_check and not options.properties_file:
|
||||
if options.build_check:
|
||||
print "Checking basic build environment..."
|
||||
if not engine.verify_build_env():
|
||||
print "Couldn't verify build environment, exiting\n"
|
||||
@@ -225,9 +223,9 @@ def wic_create_subcommand(args, usage_str):
|
||||
rootfs_dir = rootfs_dir_to_args(krootfs_dir)
|
||||
|
||||
print "Creating image(s)...\n"
|
||||
engine.wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir,
|
||||
engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
|
||||
native_sysroot, scripts_path, image_output_dir,
|
||||
options.debug, options.properties_file)
|
||||
options.debug)
|
||||
|
||||
|
||||
def wic_list_subcommand(args, usage_str):
|
||||
|
||||
Reference in New Issue
Block a user