summaryrefslogtreecommitdiffstats
path: root/scripts/wic
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-06-13 14:22:09 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-14 10:18:29 +0100
commit89af63bc04caeb8a34bfe9875be8da8dbf80d5fc (patch)
treefd673c218cbed3f53c8154f903aab7e38be48dea /scripts/wic
parentbb94a25b858c6c2f399eb679923a83b80ff414db (diff)
downloadpoky-89af63bc04caeb8a34bfe9875be8da8dbf80d5fc.tar.gz
wic: add wic_init_parser_rm
Add parser for 'wic rm' subcommand. (From OE-Core rev: 234b20ae73e15a4926b64449a665169390c66451) 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/wic6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/wic b/scripts/wic
index 5e81fad726..fc192ec852 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -379,6 +379,12 @@ def wic_init_parser_cp(subparser):
379 subparser.add_argument("-n", "--native-sysroot", 379 subparser.add_argument("-n", "--native-sysroot",
380 help="path to the native sysroot containing the tools") 380 help="path to the native sysroot containing the tools")
381 381
382def wic_init_parser_rm(subparser):
383 subparser.add_argument("path", type=imgpathtype,
384 help="path: <image>:<vfat partition><path>")
385 subparser.add_argument("-n", "--native-sysroot",
386 help="path to the native sysroot containing the tools")
387
382def wic_init_parser_help(subparser): 388def wic_init_parser_help(subparser):
383 helpparsers = subparser.add_subparsers(dest='help_topic', help=hlp.wic_usage) 389 helpparsers = subparser.add_subparsers(dest='help_topic', help=hlp.wic_usage)
384 for helptopic in helptopics: 390 for helptopic in helptopics: