aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-17 16:49:33 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-23 11:38:17 +0100
commit6b81c89878236b2ef8d8b8217f2e33286b49dab6 (patch)
treed77707c37110614d7e97614cb16d82ecd584c324 /scripts/lib
parenta64604d11f75973b4c2347fa2669da9889e44013 (diff)
downloadopenembedded-core-contrib-6b81c89878236b2ef8d8b8217f2e33286b49dab6.tar.gz
wic: removed unused command line option
Removed -i/--infile wic command line option. Removed properties_file and properties arguments of wic_create function. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/image/engine.py7
-rw-r--r--scripts/lib/image/help.py7
2 files changed, 2 insertions, 12 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py
index c568d695df..29099ee0e6 100644
--- a/scripts/lib/image/engine.py
+++ b/scripts/lib/image/engine.py
@@ -178,9 +178,8 @@ def list_source_plugins():
print " %s" % plugin
-def wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir,
- native_sysroot, scripts_path, image_output_dir, debug,
- properties_file, properties=None):
+def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
+ native_sysroot, scripts_path, image_output_dir, debug):
"""Create image
wks_file - user-defined OE kickstart file
@@ -190,8 +189,6 @@ def wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir,
native_sysroot - absolute path to the build's native sysroots dir
scripts_path - absolute path to /scripts dir
image_output_dir - dirname to create for image
- properties_file - use values from this file if nonempty i.e no prompting
- properties - use values from this string if nonempty i.e no prompting
Normally, the values for the build artifacts values are determined
by 'wic -e' from the output of the 'bitbake -e' command given an
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 886437ba60..fe66548f0f 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -149,7 +149,6 @@ NAME
SYNOPSIS
wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>]
- [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>]
[-e | --image-name] [-s, --skip-build-check] [-D, --debug]
[-r, --rootfs-dir] [-b, --bootimg-dir]
[-k, --kernel-dir] [-n, --native-sysroot] [-f, --build-rootfs]
@@ -219,12 +218,6 @@ DESCRIPTION
The -o option can be used to place the image in a directory with a
different name and location.
- As an alternative to the wks file, the image-specific properties
- that define the values that will be used to generate a particular
- image can be specified on the command-line using the -i option and
- supplying a JSON object consisting of the set of name:value pairs
- needed by image creation.
-
The set of properties available for a given image type can be
listed using the 'wic list' command.
"""