Skip to content

Commit

Permalink
Blacklist /usr as bwrap mount point
Browse files Browse the repository at this point in the history
/usr is not mounted by pressure-vessel-wrap and will print a warning
instead. Follow Steam Runtime behavior by not attempting to mount /usr.

The warning will still appear if either the Steam library or Proton
installation is located under /usr. This is preferable, since it
informs the user that they should move the directory elsewhere.

Also see:
ValveSoftware/steam-runtime#288
  • Loading branch information
Matoking committed May 23, 2021
1 parent 7fd1f61 commit 20e876c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protontricks/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def find_runtime_app_root(runtime_app):
PROTONTRICKS_PROXY_SCRIPT_PATH="{script_path}"
BLACKLISTED_ROOT_DIRS=(
/bin /dev /lib /lib64 /proc /run /sys /var
/bin /dev /lib /lib64 /proc /run /sys /var /usr
)
ADDITIONAL_MOUNT_DIRS=(
Expand Down

0 comments on commit 20e876c

Please sign in to comment.