Skip to content
Snippets Groups Projects
  1. Mar 25, 2021
  2. 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
  3. Mar 17, 2021
  4. Mar 16, 2021
  5. 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
  6. Mar 11, 2021
  7. Mar 04, 2021
  8. Mar 03, 2021
  9. Mar 01, 2021
  10. Feb 26, 2021
  11. Feb 25, 2021
Loading