]> code.ossystems Code Review - openembedded-core.git/commit
files: overlayfs-etc: add overlay mount options to preinit
authorClaudius Heine <ch@denx.de>
Thu, 10 Mar 2022 13:13:29 +0000 (14:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Mar 2022 06:54:39 +0000 (06:54 +0000)
commit13a057d6ffc3110f891224d7af9455b53581e8a8
tree9cf29bee990e0564a5450a0c568438f2c0b27825
parent2e116bbc1afbc571b99f2605839e3c90839471be
files: overlayfs-etc: add overlay mount options to preinit

Overlayfs-etc is useful if the rootfs is read-only. One reason to have
the rootfs read-only is to allow image based updating.

Image based updating will change the underlying root file system, which
is unsupported by overlayfs when with some mount options [1].

This disables those options.

[1] https://www.kernel.org/doc/html/latest/filesystems/overlayfs.html?highlight=overlayfs#changes-to-underlying-filesystems

Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/files/overlayfs-etc-preinit.sh.in