summaryrefslogtreecommitdiffstats
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:55:49 +0100
commit5cb7705d05fb56ce8c5b4d996254a64bdb1639a9 (patch)
tree56d842372477226c80b80a3d1dac5e0d2009d810 /scripts
parent1209eb2841c5a4f333f31b1c6a0148fef2bc5795 (diff)
downloadpoky-5cb7705d05fb56ce8c5b4d996254a64bdb1639a9.tar.gz
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. (From OE-Core rev: d483724cf3515f76e1b798a2018e2f3fa2bad0ba) 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):
113 part.add_argument('--fsoptions', dest='fsopts') 113 part.add_argument('--fsoptions', dest='fsopts')
114 part.add_argument('--fstype') 114 part.add_argument('--fstype')
115 part.add_argument('--label') 115 part.add_argument('--label')
116 part.add_argument('--no-table') 116 part.add_argument('--no-table', action='store_true')
117 part.add_argument('--ondisk', '--ondrive', dest='disk') 117 part.add_argument('--ondisk', '--ondrive', dest='disk')
118 part.add_argument("--overhead-factor", type=overheadtype, default=1.3) 118 part.add_argument("--overhead-factor", type=overheadtype, default=1.3)
119 part.add_argument('--part-type') 119 part.add_argument('--part-type')