On Fri, 2017-08-18 at 01:34 +0200, Markus Volk wrote:
>  
> > After sucessful build of the Image, my .iso has 38MB in size and seems to 
> > be missing the entire rootfs
> > The created hddimg has the right size of 4,3GB, but when i write it onto an 
> > usb drive (tried dd and gnome-disk-utility) it ends up with a big /boot 
> > partiton containing only the boot files
> > 
> 
> I still do not know if this is a homemade one, but i saw inside the 
> do_bootimg log that isolevel 3 was missing for mkisofs because the rootfs is 
> too big without.
> 
> For me this here inside image-live.bbclass fails for some reason:
> 
>       # 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.
>       mkisofs_iso_level=""
> 
>         if [ -n "${ROOTFS}" ] && [ -s "${ROOTFS}" ]; then
>               rootfs_img_size=`stat -c '%s' ${ISODIR}/rootfs.img`
>               # 4080218931 = 3.8 * 1024 * 1024 * 1024
>               if [ $rootfs_img_size -gt 4080218931 ]; then
>                       bbnote "${ISODIR}/rootfs.img execeeds 3.8GB, using 
> '-iso-level 3' for mkisofs"
>                       mkisofs_iso_level="-iso-level 3"
>               fi
>       fi
> 

not really sure what you have changed in the code (better to send a diff
snippet), so proposed your change to the oe-core.

> 
> 
> hard coding mkisofs_iso_level to
> 
>       mkisofs_iso_level="-iso-level 3"
> 
> fixes this up
> -- 
> Markus Volk <[email protected]>


-- 
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to