[yocto] Read-only rootfs, excluding /tmp and /var/logs
Anders Darander
anders at chargestorm.se
Tue Oct 28 07:20:09 PDT 2014
* Andrew Wozniak <drew.woz at gmail.com> [141028 15:05]:
> I'm fairly new to the Yocto environment but have worked with lower
> level Linux build systems. To get started, my target needs to have a
> read-only rootfs, while excluding specific directories like /tmp and
> /var/logs...
> The Project Dev Manual 5.15 section mentions the configuration of a
> read-only filesystem. I haven't tried this method yet and was
> wondering if there are any options for custom exclusions other than
> the /tmp and /var/run mentioned in the docs.
If you're working on the lates release, check out the volatile-binds
recipe in oe-core.
Otherwise, check out https://github.com/MentorEmbedded/meta-ro-rootfs,
which is were volatile-binds originates from.
Cheers,
Anders
--
Anders Darander
ChargeStorm AB / eStorm AB
More information about the yocto
mailing list