[oe] persistent storage & RO rootfs

Khem Raj raj.khem at gmail.com
Tue Sep 6 18:27:58 UTC 2016


> On Sep 5, 2016, at 2:05 AM, André Draszik <git at andred.net> wrote:
> 
> Hi,
> 
> I want to use a read-only rootfs, but some packages will need persistent
> storage, which typically involves /var/lib/<package>
> 
> Two solutions come to mind:
> - bbappend each involved recipe and set the --localstatedir ./configure
>   option as needed
> - symlink /var/lib/<package> to my persistent storage dir as needed
> 
> Anything else? What is typically done in such a case?

you could also use VOLATILE_BINDS

> 
> 
> Cheers,
> Andre'
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160906/7fc0500c/attachment-0002.sig>


More information about the Openembedded-devel mailing list