]> code.ossystems Code Review - openembedded-core.git/commit
bootimg.bbclass:iso: use mkisofs -iso-level 3 for large iso
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 30 Jun 2015 03:06:37 +0000 (20:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jul 2015 14:38:23 +0000 (15:38 +0100)
commit40cdf918dc2507a1270a4d933b2c2f46a514d6e2
tree5751ca665842d2f553fc12dcdfc755d4056ffca4
parente322019d9fb820187263b242e10e750a46dd1bfd
bootimg.bbclass:iso: use mkisofs -iso-level 3 for large iso

There will be problems when rootfs.img is larger than 4GB:
mkisofs: Value too large for defined data type. File /path/to/iso/rootfs.img is too large for current mkisofs settings - ignoring

And will get a wrong iso.

Check the size of ${ISODIR}/rootfs.img, use mkisofs -iso-level 3
when it exceeds 3.8GB, the specification is 4G - 1 bytes, we need
leave a few space for other files.

[YOCTO #6449]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/bootimg.bbclass