]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Sep 2022 11:24:39 +0000 (12:24 +0100)
commit791e8a8bacce5a7f31f4d7bcbfb17df2967fd258
tree7d00a279bb4899c7add68b2fe09806e0f1ae99f9
parentad5b2bffbee6ddcf51bc146d1e76c980b498b399
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>
meta/classes-recipe/overlayfs-etc.bbclass
meta/files/overlayfs-etc-preinit.sh.in