Files
lbgos 2036af9170 Universal x86_64 build for non-Arch distributions
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.
2026-10-17 14:25:21 +03:00

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 "$@"