[yocto] How to pass volume size to ubinize when building ubi file system
Bejar-Colonia, Carlos
carlos.bejar-colonia at philips.com
Mon Feb 26 11:53:17 PST 2018
Hello Yocto Team,
I need to set the "vol_size" used by ubinize, when building a ubi filesystem.
Looks like, by default, Yocto doesn't set the vol_size during the build.
Only these params are set in poky/meta/classes/image_types.bbclass
echo vol_id=0 >> ubinize${vname}-${IMAGE_NAME}.cfg
echo vol_type=dynamic >> ubinize${vname}-${IMAGE_NAME}.cfg
echo vol_name=${UBI_VOLNAME} >> ubinize${vname}-${IMAGE_NAME}.cfg
echo vol_flags=autoresize >> ubinize${vname}-${IMAGE_NAME}.cfg
mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${vname}${IMAGE_NAME_SUFFIX}.ubifs ${mkubifs_args}
Is there a way to set the vol_size without modifying image_types.bbclass?
Thanks,
Carlos
________________________________
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180226/1a797f1f/attachment.html>
More information about the yocto
mailing list