Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
feca5d9b
Commit
feca5d9b
authored
5 years ago
by
Simon McVittie
Browse files
Options
Downloads
Patches
Plain Diff
Improve support for using a chroot as the runtime
Signed-off-by:
Simon McVittie
<
smcv@collabora.com
>
parent
ff58c1c7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+14
-2
14 additions, 2 deletions
README.md
pressure-vessel-test-ui
+6
-1
6 additions, 1 deletion
pressure-vessel-test-ui
with
20 additions
and
3 deletions
README.md
+
14
−
2
View file @
feca5d9b
...
...
@@ -242,6 +242,16 @@ Instructions for testing
-C ~/.steam/steam/steamapps/common/SteamLinuxRuntime/scout_sdk/files/lib/debug/ \
-xzvf ~/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-debug.tar.gz
Or if you have a `chroot` environment with extra packages installed,
such as the `/var/chroots/steamrt_scout_amd64` generated by
[`setup_chroot.sh`][], you can use that by making `files` a symbolic
link to it:
$ rm -fr ~/.steam/root/common/SteamLinuxRuntime/scout-chroot
$ mkdir -p ~/.steam/root/common/SteamLinuxRuntime/scout-chroot
$ ln -s /var/chroots/steamrt_scout_amd64 \
~/.steam/root/common/SteamLinuxRuntime/scout-chroot/files
*
Launch a game once without pressure-vessel
*
Configure the launch options for the chosen game. Either use the Steam
...
...
@@ -278,8 +288,8 @@ Instructions for testing
- Next to pressure-vessel's `bin` and `lib` directories
- The directory above pressure-vessel's `bin` and `lib` directories
Runtimes intended for the test UI must have a `files` subdirectory
and a `metadata` file,
like Flatpak runtimes.
Runtimes intended for the test UI must have a `files` subdirectory
,
like Flatpak runtimes.
You can also choose to use the host system `/usr` directly.
...
...
@@ -327,6 +337,8 @@ the host system or the runtime, whichever appears to be newer. This
is currently hard-coded in
`pressure-vessel-wrap`
and cannot be
configured.
[
`setup_chroot.sh`
]:
https://github.com/ValveSoftware/steam-runtime
### Debugging
*
To see the filesystem in which the game is executing, get the process ID
...
...
This diff is collapsed.
Click to expand it.
pressure-vessel-test-ui
+
6
−
1
View file @
feca5d9b
...
...
@@ -66,7 +66,7 @@ class Gui:
files
=
os
.
path
.
join
(
path
,
'
files
'
)
metadata
=
os
.
path
.
join
(
path
,
'
metadata
'
)
if
os
.
path
.
isdir
(
files
)
and
os
.
path
.
exists
(
metadata
)
:
if
os
.
path
.
isdir
(
files
):
description
=
self
.
_describe_runtime
(
path
)
self
.
runtimes
[
path
]
=
description
...
...
@@ -155,6 +155,9 @@ class Gui:
files
=
os
.
path
.
join
(
path
,
'
files
'
)
metadata
=
os
.
path
.
join
(
path
,
'
metadata
'
)
if
os
.
path
.
islink
(
files
):
description
=
os
.
path
.
realpath
(
files
)
if
description
.
startswith
(
self
.
home
+
'
/
'
):
description
=
'
~
'
+
description
[
len
(
self
.
home
):]
...
...
@@ -176,6 +179,8 @@ class Gui:
name
=
keyfile
.
get_string
(
'
Runtime
'
,
'
runtime
'
)
except
GLib
.
Error
:
pass
else
:
variant
=
name
.
split
(
'
.
'
)[
-
1
]
except
GLib
.
Error
:
pass
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment