On Mon, Feb 18, 2019 at 5:52 PM Marc Ferland <marc.ferl...@gmail.com> wrote:
> On Mon, Feb 18, 2019 at 11:37 AM Belisko Marek <marek.beli...@gmail.com> > wrote: > >> Hi, >> >> I plan to use readonly rootfs option and store some custom data in >> separate partition (like hostname, wpa_supplicant.conf etc). I have wic >> file which create rootfs + then rest is for data storage. I can adjust >> various recipes to symlink to /data partition. My question is if there >> exists some mechanism how to store some pieces in non-rootfs partition? I >> know some projects which put those extra files to deploy dir and then by dd >> create dummy storage nd put files there and finally create partition from >> that. Thanks a log for any pointers. >> >> > > You could potentially use overlayfs to have a RO rootfs and a separate RW > layer in another partition for example. I think linux-yocto also support > AUFS. > This one seems promising: https://github.com/cmhe/meta-readonly-rootfs-overlay This is not exactly what I was looking for but I think it can be usable. Anyone using this? Thanks. > > Good luck, > > Marc > /marek
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto