[yocto] assembling lvm disk images

Brad Bishop bradleyb at fuzziesquirrel.com
Thu Aug 22 07:12:46 PDT 2019


Does anyone have any experience with assembling an lvm disk image from a  
bitbake task?  My naiive approach to this would be to invent and implement  
an IMAGE_FSTYPE that builds up the image in a do_image_foo task.

But the LVM userspace tools don’t do offline mode so this seems to require  
the use of things like loopback devices and sudo.  Is that a can of worms?   
Does anyone have any advice on how to do something like this?  Pointers to  
something similar?

thx!

brad


More information about the yocto mailing list