diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-11-17 14:42:17 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-11-19 18:26:46 +0200 |
commit | fadce7f9b4e272c5aa92c0782bbabebdbb363f48 (patch) | |
tree | 17c2bcd28e77b15345407ebbe96f6bda9a6890c0 /mesonbuild/interpreter.py | |
parent | 5cd8a7bbccac13cadb2515cfb433da8adde04b4d (diff) | |
download | meson-fadce7f9b4e272c5aa92c0782bbabebdbb363f48.zip meson-fadce7f9b4e272c5aa92c0782bbabebdbb363f48.tar.gz meson-fadce7f9b4e272c5aa92c0782bbabebdbb363f48.tar.bz2 |
Silence failed restorecon calls when $DESTDIR is set
This avoids hundres of warnings like:
Warning no default label for /var/tmp/instroot.hUbtYJ/path/to/some/binary
$DESTDIR is usually set to a temporary path, in which case the path is
unknown to selinux. For that case we could just skip the restorecon
calls. But sometimes it is used with a path to container. In that
case, most of the time, selinux has no context for that path. But we
can't rule that out somebody added custom context rules for the
container. So let's still call restorecon, but silence the warning.
Diffstat (limited to 'mesonbuild/interpreter.py')
0 files changed, 0 insertions, 0 deletions