Pin srt to a tested version; support only Pop!_OS 26.04 and later

srt is pinned to 0.0.83, the version the smoketest passed with. A computer
with another version sees the agents item as to do in configure, which
installs the pinned one. Move the pin only after smoketest/run 50 80 passes.

The installer and configure stop on Pop!_OS (or Ubuntu) older than 26.04.
The smoketest builds on Ubuntu 26.04, with checks that 24.04 is refused.
26.04's own AppArmor profile lets bubblewrap make user namespaces, so the
connector's profile for it, and the code that offered to add it, are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-28 20:49:54 -07:00
co-authored by Claude Opus 5.5
parent c84e6d3aa0
commit b609252e1c
17 changed files with 95 additions and 75 deletions
+9
View File
@@ -11,6 +11,15 @@ is_pop() {
[ "$(. /etc/os-release 2> /dev/null && echo "$ID")" = pop ]
}
# Pop!_OS (or Ubuntu) older than 26.04, which the connector no longer supports
os_too_old() {
local id version
id="$(. /etc/os-release 2> /dev/null && echo "$ID")"
version="$(. /etc/os-release 2> /dev/null && echo "$VERSION_ID")"
case "$id" in pop|ubuntu) ;; *) return 1 ;; esac
[ -n "$version" ] && [ "$(printf '%s\n' 26.04 "$version" | sort -V | head -n 1)" != 26.04 ]
}
os_name() {
(. /etc/os-release 2> /dev/null && echo "${PRETTY_NAME:-$ID}") || uname -s
}