Skip to contentSkip to conversation

wic: add --extra-space back for compatibility

PATCH New Ross Burton 1 participant 1 message Sep 10, 2025

lore
Share & tools
lore
#0 lore raw

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")

---
 scripts/lib/wic/ksparser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/wic/ksparser.py +1 -1
index 705f9897508..a762d3b6cf4 100644
@@ -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