Add /etc/alternatives to bwrap

On some systems, some fairly fundamental binaries route through
here.

Change-Id: I6258fbe8e7a4728bf85a6b918cf6518d2643d5ed
This commit is contained in:
James E. Blair
2017-08-31 10:10:38 -07:00
parent 8862019d91
commit 1b22179d20

View File

@@ -212,6 +212,7 @@ class BubblewrapDriver(Driver, WrapperInterface):
for path in ['/lib64',
'/etc/nsswitch.conf',
'/etc/lsb-release.d',
'/etc/alternatives',
]:
if os.path.exists(path):
bwrap_command.extend(['--ro-bind', path, path])