[oe] Making /var/lib persistent

cyril Romain c.romain at laposte.net
Mon Apr 16 22:43:18 UTC 2007


Hi,

Koen Kooi wrote:
> Marcel Holtmann just pointed me to the fact that OE mount /var as tmpfs for
> almost all machines, which wipes /var/lib at boot, which will break bluez and
> dpkg.
>
> What would be the best way to preserve /var/lib (and maybe others) across boots?
>   
I suggest the use of symlinks in /var/lib that point to a let's say
/srv/ directory.
thoses links will be created at boot time, e.g.:
ln -s /srv/bitlbee/lib /var/lib/bitlbee

Best regards,

  cyril




More information about the Openembedded-devel mailing list