Skip to contentSkip to conversation

persistent storage & RO rootfs

DISCUSSION André Draszik 2 participants 2 messages Sep 5, 2016 – Sep 6, 2016

lore
Share & tools
lore
#0 lore raw

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?

Cheers,
Andre'

#1 lore raw
Quoted 8 lines · André Draszik

Hi,

I want to use a read-only rootfs, but some packages will need persistent storage, which typically involves /var/lib/<package>

Quoted 6 lines

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

Quoted 10 lines

Cheers,
Andre'

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel