| Message ID | 20261028093240.614428-1-gouravsingh@siemens.com |
|---|---|
| State | New |
| Headers | show |
| Series | [wic] wic-plugins: use iso-level 3 in isohybrid plugins for >4GB files | expand |
On 28 Oct 2026, at 09:32, Gourav Singh via lists.yoctoproject.org <gouravsingh=siemens.com@lists.yoctoproject.org> wrote: > > When creating an ISO image containing files larger than 4 GiB, > xorriso fails with: > xorriso : FAILURE : File exceeds size limit of 4294967295 bytes > ISO-9660 Level 2 enforces a strict 4 GiB single-file limit. Bump > iso-level from 2 to 3 in both isoimage-isohybrid plugins. Level 3 > enables multi-extent files, allowing individual files greater than > 4 GiB while maintaining full compatibility with modern systems. > Does this work with cdrtools too? I’ve long been meaning to replace cdrtool with xorriso in core, but we’ve not done this yet, so by default wic will be calling cdrtool’s mkisofs. Ross IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
diff --git a/src/wic/plugins/source/isoimage_isohybrid.py b/src/wic/plugins/source/isoimage_isohybrid.py index 0a3ecd3..73a3902 100644 --- a/src/wic/plugins/source/isoimage_isohybrid.py +++ b/src/wic/plugins/source/isoimage_isohybrid.py @@ -419,7 +419,7 @@ class IsoImagePlugin(SourcePlugin): mkisofs_cmd = "mkisofs -V %s " % part.label mkisofs_cmd += "-o %s -U " % iso_img - mkisofs_cmd += "-J -joliet-long -r -iso-level 2 -b %s " % iso_bootimg + mkisofs_cmd += "-J -joliet-long -r -iso-level 3 -b %s " % iso_bootimg mkisofs_cmd += "-c %s -no-emul-boot -boot-load-size 4 " % iso_bootcat mkisofs_cmd += "-boot-info-table -eltorito-alt-boot " mkisofs_cmd += "-eltorito-platform 0xEF -eltorito-boot %s " % efi_img
When creating an ISO image containing files larger than 4 GiB, xorriso fails with: xorriso : FAILURE : File exceeds size limit of 4294967295 bytes ISO-9660 Level 2 enforces a strict 4 GiB single-file limit. Bump iso-level from 2 to 3 in both isoimage-isohybrid plugins. Level 3 enables multi-extent files, allowing individual files greater than 4 GiB while maintaining full compatibility with modern systems. Signed-off-by: Gourav Singh <gouravsingh@siemens.com> --- src/wic/plugins/source/isoimage_isohybrid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)