diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-06-09 12:16:31 -0500 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2020-09-30 05:40:52 -1000 |
commit | 62a7a10c31bcf133cbd99d4de928f15a30e45ab1 (patch) | |
tree | 3e8e8e89aed4525df0720ce11c07593ecf7c50f1 /scripts | |
parent | 897aaff8961f7fe83634a3b0b94e19b43aea5857 (diff) | |
download | openembedded-core-contrib-62a7a10c31bcf133cbd99d4de928f15a30e45ab1.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.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87722a92c18f94917c8f70afc8cd0763462a5c25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/wic/ksparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py index f32315c631..ac6f427564 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py @@ -144,7 +144,7 @@ class KickStart(): part.add_argument('--offset', type=sizetype("K")) part.add_argument('--exclude-path', nargs='+') part.add_argument('--include-path', nargs='+') - part.add_argument("--extra-space", type=sizetype) + part.add_argument("--extra-space", type=sizetype("M")) part.add_argument('--fsoptions', dest='fsopts') part.add_argument('--fstype', default='vfat', choices=('ext2', 'ext3', 'ext4', 'btrfs', |