mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-28 03:01:29 +01:00
Build the driver in the Steam Runtime sniper SDK and install it under ~/.local/share, which SteamVR sees inside its container, so no launch option is needed. glibc 2.31 and old libwayland compatibility, a relocatable overlay manifest, and the overlay in its own systemd unit.
7 lines
383 B
Bash
Executable File
7 lines
383 B
Bash
Executable File
#!/bin/sh
|
|
# Run a command inside the Steam Runtime sniper SDK sysroot, with ~/src/universal/work at /work.
|
|
here=$(dirname "$(readlink -f "$0")")
|
|
exec bwrap --bind "$here/sysroot" / --dev /dev --proc /proc --tmpfs /tmp \
|
|
--bind "$here/work" /work --ro-bind /etc/resolv.conf /etc/resolv.conf \
|
|
--setenv HOME /work/home --setenv PATH /usr/local/bin:/usr/bin:/bin --chdir /work "$@"
|