Add /etc/alternatives to bwrap
On some systems, some fairly fundamental binaries route through here. Change-Id: I6258fbe8e7a4728bf85a6b918cf6518d2643d5ed
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user