[yocto] Can wic split rootfs files across partitions?

Jens Rehsack rehsack at gmail.com
Thu Mar 31 02:40:17 PDT 2016


> Am 30.03.2016 um 20:48 schrieb Karl Voelker <karl at karlv.net>:
> 
> I am trying to build a multi-partition image with wic, with separate
> partitions for / and /var. So, the / partition should get all the files
> except those under /var, and the /var partition should get the files
> under /var.
> 
> I thought this was possible because of the suggestion in the docs that
> the mntpoint arg of a "part" command could be /usr or /home (see
> http://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#command-part-or-partition).
> 
> However, after trying a few different things in my wks file, and looking
> through a lot of the wic source code, I am starting to wonder if this
> kind of thing is not actually supported. If it is supported, is there an
> example somewhere? None of the examples in scripts/lib/wic/canned-wks
> appear to cover this situation.

We didn't figure out how it can easily be done and use a mix of volatile
and overlayfs settings to have /etc and /var separated from readonly /.

Cheers
--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160331/d252478f/attachment.pgp>


More information about the yocto mailing list