[yocto] assembling lvm disk images
Schmitt, Richard
Richard.Schmitt at commscope.com
Thu Aug 22 07:28:23 PDT 2019
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-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> On Behalf Of Brad Bishop
Sent: Thursday, August 22, 2019 9:13 AM
To: OpenBMC Maillist <openbmc at lists.ozlabs.org>; yocto at yoctoproject.org
Cc: Adriana Kobylak <anoo at 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 at 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
More information about the yocto
mailing list