wic: add --extra-space back for compatibility
PATCH v2 1/1 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")
Signed-off-by Ross Burton <[email protected]>
--- scripts/lib/wic/ksparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/wic/ksparser.py +1 -1
@@ -153,7 +153,7 @@ class KickStart(): part.add_argument('--exclude-path', nargs='+') part.add_argument('--include-path', nargs='+', action='append') part.add_argument('--change-directory') - part.add_argument('--extra-filesystem-space', type=sizetype("M")) + part.add_argument('--extra-filesystem-space', '--extra-space', type=sizetype("M")) part.add_argument('--extra-partition-space', type=sizetype("M")) part.add_argument('--fsoptions', dest='fsopts') part.add_argument('--fspassno', dest='fspassno')
Signature · 1 line
2.43.0