Skip to content
Snippets Groups Projects
Commit 0f2176f5 authored by Timothee Besset's avatar Timothee Besset
Browse files

Merge branch 'master' of gitlab.internal.steamos.cloud:steam/steamlinuxruntime

parents eba7209e 290f3b46
No related branches found
No related tags found
No related merge requests found
all:
@if [ -e files ]; then \
echo "Not overwriting existing scout_sdk/files directory"; \
exit 1; \
fi
tar -zxvf ../com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-runtime.tar.gz
clean:
@if [ "x$(REALLY_DELETE_SDK)" != xyes ]; then \
echo "Run as: make clean REALLY_DELETE_SDK=yes"; \
exit 1; \
fi
rm -fr files metadata
Steam Runtime debugging (SDK) environment
=========================================
SDK container
-------------
To get a debug version of the Steam Runtime container, unpack
`../com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-runtime.tar.gz`
into this directory, so that you have this layout:
```
pressure-vessel/
...
scout/
...
scout_sdk/
README.md (this file)
metadata
files/
bin/
...
lib/
...
...
```
Then use the developer mode to select the SDK runtime instead of the
default Platform runtime.
Beta versions of the container might be available from
<http://repo.steampowered.com/steamrt/steamrt-scout/snapshots/>.
You can download any recent version of
`com.valvesoftware.SteamRuntime.Platform-amd64,i386-scout-runtime.tar.gz`
or `com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-runtime.tar.gz`
and unpack it into a similar layout.
Steam Runtime schroot
---------------------
For a fully modifiable version, which requires `sudo` privileges on a
host operating system with the `schroot` tool:
* Download one of the
`com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz`
files from
<http://repo.steampowered.com/steamrt/steamrt-scout/snapshots/>
* Clone https://github.com/ValveSoftware/steam-runtime somewhere convenient
* Import the sysroot tarball as a chroot:
```
cd steam-runtime
./setup_chroot.sh --amd64 --tarball ../com.valvesoftware...-sysroot.tar.gz
```
* Use `sudo schroot -c steamrt_scout_amd64 -- apt-get install ...` to
install any additional software you need
* Create a `scout_schroot` directory next to `scout` and `pressure-vessel`:
```
mkdir scout_schroot
```
* Create a symbolic link to the chroot and name it `scout_schroot/files`:
```
ln -s /var/chroots/steamrt_scout_amd64 scout_schroot/files
```
* The `scout_schroot` directory should now be available in developer mode
......@@ -14,6 +14,16 @@
"recursive" "1"
}
"FileMapping"
{
"LocalPath" "../scout_sdk/Makefile"
"DepotPath" "scout"
}
"FileMapping"
{
"LocalPath" "../scout_sdk/README.md"
"DepotPath" "scout"
}
"FileMapping"
{
"LocalPath" "../com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-runtime.tar.gz"
"DepotPath" "."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment