summaryrefslogtreecommitdiffstats
path: root/scripts/wic
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-02 13:58:15 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-02 23:46:52 +0100
commitaf0a6d547a5a3efefdd4900f7079dfd10b85342d (patch)
treec80d1438d8de6ef66a2fb37731d0db652eeb36a3 /scripts/wic
parentbed98142e3e47ac2862ccf8fe3e4bdeabfc91172 (diff)
downloadopenembedded-core-contrib-af0a6d547a5a3efefdd4900f7079dfd10b85342d.tar.gz
openembedded-core-contrib-af0a6d547a5a3efefdd4900f7079dfd10b85342d.tar.bz2
openembedded-core-contrib-af0a6d547a5a3efefdd4900f7079dfd10b85342d.zip
wic: get rid of listing properties
Functionality of listing and using properties of wic images does not exist in the wic code. However, there are plenty of help and usage content about it, which is very confusing. Removed everything regarding image properties from wic codebase. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-xscripts/wic13
1 files changed, 4 insertions, 9 deletions
diff --git a/scripts/wic b/scripts/wic
index c99c5042bd..eb252a26ef 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -249,18 +249,13 @@ def wic_create_subcommand(args, usage_str):
def wic_list_subcommand(args, usage_str):
"""
- Command-line handling for listing available image properties and
- values. The real work is done by image.engine.wic_list()
+ Command-line handling for listing available images.
+ The real work is done by image.engine.wic_list()
"""
parser = optparse.OptionParser(usage=usage_str)
+ args = parser.parse_args(args)[1]
- parser.add_option("-o", "--outfile", action="store",
- dest="properties_file",
- help="dump the possible values for image properties to a JSON file")
-
- (options, args) = parser.parse_args(args)
-
- if not engine.wic_list(args, scripts_path, options.properties_file):
+ if not engine.wic_list(args, scripts_path):
logging.error("Bad list arguments, exiting\n")
parser.print_help()
sys.exit(1)