Skip to content
Snippets Groups Projects
  1. Apr 14, 2021
  2. Apr 13, 2021
  3. Apr 12, 2021
  4. Apr 09, 2021
  5. Apr 06, 2021
  6. Mar 25, 2021
  7. Mar 23, 2021
    • Ludovico de Nittis's avatar
      wrap: Use a tmpfs home as a fallback when unsharing the home dir · 604e3531
      Ludovico de Nittis authored
      
      If we don't want to share the host home directory we expect to have
      either --home, --freedesktop-app-id, --steam-app-id or $SteamAppId.
      
      There are cases where this might not happen. For example if Steam has
      been launched with the PRESSURE_VESSEL_SHARE_HOME=0 env variable and we
      try to run "Help->System Information", the variable $SteamAppId will not
      be set and the container creation will fail.
      
      To avoid this issue we can use a tmpfs for the home directory when we
      are in batch mode.
      In this way the tmpfs will not be used if we need to run an actual game,
      because we want to retain the home directory on exit.
      
      Fixes: #66
      
      Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
      604e3531
  8. Mar 17, 2021
  9. Mar 16, 2021
  10. Mar 12, 2021
    • Simon McVittie's avatar
      wrap: Put game-specific $HOME on bwrap command-line before exports · 242e8906
      Simon McVittie authored
      This is how Flatpak behaves, and it's necessary to prevent the
      game-specific $HOME from being mounted over the top of some of the
      exports, preventing (for example) ~/.steam from being exposed to the
      container.
      
      We only do this for $HOME rather than completely reverting 3a8e939d,
      so that it won't be a regression for a symlink at /var/tmp.
      
      If the logical and physical paths to the real $HOME differ, we now also
      mount the game-specific $HOME onto the real $HOME's physical path, and
      replicate the logical path's symlinks in the container. This matches how
      Flatpak works, and avoids a similar regression.
      
      Fixes: 3a8e939d "pv-wrap: Delay --dir, etc. until after FlatpakExports are processed"
      Resolves: #63
      
      
      Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
      242e8906
  11. Mar 11, 2021
  12. Mar 04, 2021
  13. Mar 03, 2021
  14. Mar 01, 2021
Loading