diff options
author | Ross Burton <ross.burton@arm.com> | 2025-09-10 15:41:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-15 17:57:23 +0100 |
commit | a32f0fc0b7e921513a91c96a69f38a6acd7643ec (patch) | |
tree | 72487fa2ce44ff4f3b7cdf7c104ce782e9f8187d | |
parent | a821638e78e9a641904eb47480a0b54f094fd718 (diff) | |
download | poky-a32f0fc0b7e921513a91c96a69f38a6acd7643ec.tar.gz |
wic: add --extra-space back for compatibility
The --extra-space argument was renamed to --extra-filesystem-space to
be clear what space is being added to, but this breaks existing wic
files.
Add back --extra-space as an alias for --extra-file-system-space so that
existing wks files don't fail.
[1] oe-core 39d10137b86 ("wic: rename wks flag --extra-space to --extra-filesystem-space")
(From OE-Core rev: 1d2a714fbe96fa3115fafb1d4d29667b6ae4a881)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 705f989750..a762d3b6cf 100644 --- a/scripts/lib/wic/ksparser.py +++ b/scripts/lib/wic/ksparser.py | |||
@@ -153,7 +153,7 @@ class KickStart(): | |||
153 | part.add_argument('--exclude-path', nargs='+') | 153 | part.add_argument('--exclude-path', nargs='+') |
154 | part.add_argument('--include-path', nargs='+', action='append') | 154 | part.add_argument('--include-path', nargs='+', action='append') |
155 | part.add_argument('--change-directory') | 155 | part.add_argument('--change-directory') |
156 | part.add_argument('--extra-filesystem-space', type=sizetype("M")) | 156 | part.add_argument('--extra-filesystem-space', '--extra-space', type=sizetype("M")) |
157 | part.add_argument('--extra-partition-space', type=sizetype("M")) | 157 | part.add_argument('--extra-partition-space', type=sizetype("M")) |
158 | part.add_argument('--fsoptions', dest='fsopts') | 158 | part.add_argument('--fsoptions', dest='fsopts') |
159 | part.add_argument('--fspassno', dest='fspassno') | 159 | part.add_argument('--fspassno', dest='fspassno') |