diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2018-10-11 13:09:04 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-12 08:44:05 +0100 |
commit | 370fda1b2e8d5dc011522131bba4106de26bfb19 (patch) | |
tree | 91617a296e6001b7b87bc53880ca390a107b71f4 /scripts/lib | |
parent | 9800daf59d2235bc492d1aeb600e46ad62303510 (diff) | |
download | openembedded-core-370fda1b2e8d5dc011522131bba4106de26bfb19.tar.gz openembedded-core-370fda1b2e8d5dc011522131bba4106de26bfb19.tar.bz2 openembedded-core-370fda1b2e8d5dc011522131bba4106de26bfb19.zip |
initscripts: read-only-rootfs-hook: Use overlay if available
Copying files from the read-only /var/lib to tmpfs can be slow and waste
memory. If the kernel supports the overlay file system, use it to mount
a writable tmpfs on top of the read-only /var/lib and avoid the file
copy.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions