summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-03-23 13:24:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-28 15:54:51 +0100
commitd483724cf3515f76e1b798a2018e2f3fa2bad0ba (patch)
tree1550e448157124e38293e94ea28a9c9542730220 /scripts
parente0c5bcb73f3663990ccb489a75cbc59927fc9e13 (diff)
downloadopenembedded-core-d483724cf3515f76e1b798a2018e2f3fa2bad0ba.tar.gz
openembedded-core-d483724cf3515f76e1b798a2018e2f3fa2bad0ba.tar.bz2
openembedded-core-d483724cf3515f76e1b798a2018e2f3fa2bad0ba.zip
wic: fix type of no-table option
Type of --no-table option was incorrectly set in new wks parser. It causes parser to require argument for this option, which makes wic to fail with wks files that use --no-table: Error: argument --no-table: expected one argument Changed action parameter to 'store_true' to fix the issue. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/ksparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py
index 2f1e0978db..8c3f80882c 100644
--- a/scripts/lib/wic/ksparser.py
+++ b/scripts/lib/wic/ksparser.py
@@ -113,7 +113,7 @@ class KickStart(object):
part.add_argument('--fsoptions', dest='fsopts')
part.add_argument('--fstype')
part.add_argument('--label')
- part.add_argument('--no-table')
+ part.add_argument('--no-table', action='store_true')
part.add_argument('--ondisk', '--ondrive', dest='disk')
part.add_argument("--overhead-factor", type=overheadtype, default=1.3)
part.add_argument('--part-type')