Skip to content

pressure-vessel: Share more directories with container

Simon McVittie requested to merge wip/filesystem-vars into master
  • pressure-vessel: Allow EnvMountFlags to specify ro/rw status

    We might use this later to provide a read-only mount for files from the host OS that shouldn't ever be modified in the container, although we don't yet.

  • pressure-vessel-wrap: Add environment variables to share filesystems

    This provides a generic way to get OS-specific library directories, Vulkan layers' configuration, etc. into the container.

  • tests: Improve test coverage for pressure-vessel environment variables

  • pressure-vessel: Make STEAM_EXTRA_COMPAT_TOOLS_PATHS available

    As requested and later documented in https://github.com/ValveSoftware/steam-for-linux/issues/6310, Steam looks for compatibility tools in locations determined by this environment variable. Make them available in the container.

    When running in Flatpak, this will have no effect for compat tools in /app, but we should eventually get the Flatpak app's /app by a different route.

    Partial fix for https://github.com/ValveSoftware/steam-runtime/issues/302 (we also need to deal with compat tools in /usr/local/share and /usr/share, but that can't easily be done here, and is better addressed when we build the runtimes).

  • tests: Test STEAM_EXTRA_COMPAT_TOOLS_PATHS


/cc @denittis

Partly split out from !176 (merged). Test coverage is new, and the new environment variables PRESSURE_VESSEL_FILESYSTEMS_RO and PRESSURE_VESSEL_FILESYSTEMS_RW replace specific checks for MangoHUD and vkBasalt (which I don't think we want to special-case, at least not right now).

Merge request reports