[yocto] partitions resizing on the fly
Iván Castell
icastell at nayarsystems.com
Tue Jun 5 07:50:36 PDT 2018
I managed this issue redefining this script in my custom layer (rocko
branch):
scripts/lib/wic/canned-wks/mkefidisk.wks
and setting a bigger size for the root partition (80GB in my case):
part / --source rootfs --ondisk sda --fstype=ext4 --label platform
--align 1024 --use-uuid --*size 80000*
Its not very nice, I know. But yocto can't know the real size of your root
device until writing the final image.
I don't know if this is the best way to fix this but it works.
-- Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180605/df2a6338/attachment.html>
More information about the yocto
mailing list