From: Ed Bartosh Date: Wed, 23 Mar 2016 11:24:33 +0000 (+0200) Subject: wic: fix type of no-table option X-Git-Tag: 2016-4~268 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d483724cf3515f76e1b798a2018e2f3fa2bad0ba;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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')