Not sure the type of lvm you're trying to use, but we successfully build a 
dm-verity rootfs offline.  

It probably is specific to what type of lvm you are using.

Rich

-----Original Message-----
From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> On Behalf 
Of Brad Bishop
Sent: Thursday, August 22, 2019 9:13 AM
To: OpenBMC Maillist <open...@lists.ozlabs.org>; yocto@yoctoproject.org
Cc: Adriana Kobylak <a...@us.ibm.com>
Subject: [yocto] assembling lvm disk images

Message received from external source. Exercise caution when opening 
attachments, clicking links, or exchanging information.

 

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
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://secure-web.cisco.com/112-av8EDIIIXbY8hSie1QXvWpyo50KqnDKAC8NbS9qgDn37io8Zv_suDoLW9dWTjOdYQ__pk66cgs39dsrNEMtlM96f9mrCatyBClf_7z3km1TdaWvXKZaXYsqszDsd07e0rvLw1EMG0daApJ0KFgsP6hQXYC-fMhzWNeWekukRFMHYAkVcCXUREGfm9KGiLxcW26h_iRDm51IG2lN5A81OvycswnfyhsJoooxYdx0HFpnq8OyucWvHvAFGP9xlw8PTAFtGGlWTnNPcYNo8pv_-4WmojctwMqxF0thWJ-H4la1UV7_r0xUBfBx5cphpO/https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fyocto
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to