crops / poky-container

A container image that is able to run bitbake/poky. It has helpers to create users and groups within the container. This is so that the output generated in the container will be readable by the user on the host.
GNU General Public License v2.0
206 stars 94 forks source link

Fix runtests.sh failure when SELinux is enabled #18

Closed jwakre closed 7 years ago

jwakre commented 7 years ago

When using Docker with SELinux enabled on the host, volume mounted files and directories must be properly labelled. Correct labelling can be performed automatically by appending a :Z to the docker run volume mount option. This change updates the workdir volume mount option in runtests.sh to automatically label it properly for SELinux.

Signed-off-by: John Akre john.w.akre@intel.com