mirror of
https://github.com/tailscale-dev/deck-tailscale.git
synced 2025-10-21 23:18:12 +00:00
Merge pull request #14 from diericx/update-persistence
SteamOS Update Resilience
This commit is contained in:
15
readme.md
15
readme.md
@@ -57,21 +57,6 @@ $ steamos-readonly enable
|
||||
$ systemd-sysext merge
|
||||
```
|
||||
|
||||
## On system update
|
||||
|
||||
Unfortunately, because SteamOS doesn't include a `SYSEXT_LEVEL`, this
|
||||
installation method breaks when the system version changes. Repair is simple:
|
||||
Re-run the second step of the installation, and everything should come back up
|
||||
as you had it.
|
||||
|
||||
### Why this happens
|
||||
|
||||
Extension images have to declare their compatibility using the OS ID and either
|
||||
the SYSEXT_LEVEL or VERSION_ID, which have to match what the system declares.
|
||||
|
||||
SteamOS doesn't declare a SYSEXT_LEVEL, and the VERSION_ID increments with every
|
||||
system update, so there's no stable values to declare compatibility against.
|
||||
|
||||
## Common issues
|
||||
|
||||
### Broken config file
|
||||
|
@@ -46,7 +46,7 @@ cp -rf $tar_dir/tailscale tailscale/usr/bin/tailscale
|
||||
cp -rf $tar_dir/tailscaled tailscale/usr/sbin/tailscaled
|
||||
|
||||
# write a systemd extension-release file
|
||||
echo -e "ID=steamos\nVERSION_ID=${VERSION_ID}" >> tailscale/usr/lib/extension-release.d/extension-release.tailscale
|
||||
echo -e "ID=_any" >> tailscale/usr/lib/extension-release.d/extension-release.tailscale
|
||||
|
||||
# create the system extension folder if it doesn't already exist, remove the old version of our tailscale extension, and install our new one
|
||||
mkdir -p /var/lib/extensions
|
||||
|
Reference in New Issue
Block a user