diff options
author | Maximilian Blenk <Maximilian.Blenk@bmw.de> | 2021-09-09 10:05:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-11 18:41:38 +0100 |
commit | e325390b91da7d3b43e78ad840a9fe5cd14a9ab7 (patch) | |
tree | 5e08f4ef32864bf1832adaf7df0e32634098c234 /scripts/lib/recipetool/create_buildsys_python.py | |
parent | e1d658ef1153ecb16acda19e3f6fe2edea7cf4e4 (diff) | |
download | poky-e325390b91da7d3b43e78ad840a9fe5cd14a9ab7.tar.gz |
mount-copybind: add rootcontext mountoption for overlayfs
If selinux is enabled, the context of the mountpoint for overlayfs
needs to be specified manually via the rootcontext option. To this
end, the required context is determined using matchpathcon(1) and
passed via the rootcontext mount option.
Additionally, if the mount source directory is created by mount-copybind
it also needs to take care that the context of the directory is correct
(From OE-Core rev: 57f51e8c73ab9f55f20815a9459c3afad2b281e6)
Signed-off-by: Tobias Kaufmann <Tobias.KA.Kaufmann@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
0 files changed, 0 insertions, 0 deletions