summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2020-06-09 12:16:31 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-12 08:25:04 +0100
commit4f3aca1a5660f8d4bc4342ba2838009a90647003 (patch)
tree3f8f7bfb1049d9dd79fb2dada23239a72d53781b /scripts
parent37fffeb81fad048202f88b0d67dba78af27b10bb (diff)
downloadpoky-4f3aca1a5660f8d4bc4342ba2838009a90647003.tar.gz
wic: Fix --extra-space argument handling
467f84e12b ("wic: Add --offset argument for partitions") broke the --extra-space argument handling in wic. Fix the option and add a unit test for the argument. (From OE-Core rev: 87722a92c18f94917c8f70afc8cd0763462a5c25) Signed-off-by: Joshua Watt <JPEWhacker@gmail.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 05ae292ef5..3453d9cb9d 100644
--- a/scripts/lib/wic/ksparser.py
+++ b/scripts/lib/wic/ksparser.py
@@ -145,7 +145,7 @@ class KickStart():
145 part.add_argument('--exclude-path', nargs='+') 145 part.add_argument('--exclude-path', nargs='+')
146 part.add_argument('--include-path', nargs='+', action='append') 146 part.add_argument('--include-path', nargs='+', action='append')
147 part.add_argument('--change-directory') 147 part.add_argument('--change-directory')
148 part.add_argument("--extra-space", type=sizetype) 148 part.add_argument("--extra-space", type=sizetype("M"))
149 part.add_argument('--fsoptions', dest='fsopts') 149 part.add_argument('--fsoptions', dest='fsopts')
150 part.add_argument('--fstype', default='vfat', 150 part.add_argument('--fstype', default='vfat',
151 choices=('ext2', 'ext3', 'ext4', 'btrfs', 151 choices=('ext2', 'ext3', 'ext4', 'btrfs',