]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
classes: files: Extend overlayfs-etc class
authorVyacheslav Yurkov <v.yurkov@precitec.de>
Wed, 7 Sep 2022 19:51:38 +0000 (21:51 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 25 Oct 2022 14:24:45 +0000 (04:24 -1000)
commit6ad25304abefcbe538db7745e17ac213fa7d0719
tree5469e68d1941afa25a9609c307b8570d2c29891d
parenta1e0ddbb7bc2c63845af67d5fd38f12be44e8775
classes: files: Extend overlayfs-etc class

Add the ability to expose the lower layer of /etc when mounting overlay.
This is the similar to what overlayroot script from initramfs-framework does.

By default, this option is turned off to keep an old behavior intact.

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 791e8a8bacce5a7f31f4d7bcbfb17df2967fd258)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/overlayfs-etc.bbclass
meta/files/overlayfs-etc-preinit.sh.in