If rootfs over around 4GiB, cannot create full ota package(full_update_ext4.zip) on LE platform(qti-yocto).
Error occurred when do_gen_ota_full_zip_ext4 bitbake task.
ota-scripts/ota_from_target_files script not support ZIP64 format.
log: ota_debug.txt from target-files-ext4.zip
--------------------------------------------------------------------------------------
Traceback (most recent call last):
File "./ota_from_target_files", line 2497, in <module>
main(sys.argv[1:])
File "./ota_from_target_files", line 2444, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./ota_from_target_files", line 770, in WriteFullOTAPackage
system_diff.WriteScript(script, output_zip)
File "/yocto/build_target/tmp/deploy/images/qrb5165-rb5/ota-scripts/common.py", line 1421, in WriteScript
self._WriteUpdate(script, output_zip)
File "/yocto/build_target/tmp/deploy/images/qrb5165-rb5/ota-scripts/common.py", line 1576, in _WriteUpdate
'{}.new.dat'.format(self.partition))
File "/yocto/build_target/tmp/deploy/images/qrb5165-rb5/ota-scripts/common.py", line 1072, in ZipWrite
zip_file.write(filename, arcname=arcname, compress_type=compress_type)
File "/usr/lib/python2.7/zipfile.py", line 1171, in write
self._writecheck(zinfo)
File "/usr/lib/python2.7/zipfile.py", line 1137, in _writecheck
" would require ZIP64 extensions")
zipfile.LargeZipFile: Filesize would require ZIP64 extensions
--------------------------------------------------------------------------------------
So, I added 'allowZip64=True' parameter when create zip object
then created 'full_update_ext4.zip' successfully.
But, unfortunately occured another issue.
cannot install full_update_ext4.zip via recovery tool.
I think it might revocery tool(minzip) not support ZIP64 format.
How can i solve this problem?
Regards,