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
+3 -3
View File
@@ -1,8 +1,8 @@
# Ubuntu 24.04, which Pop!_OS 24.04 is built on: the same apt packages,
# Ubuntu 26.04, which Pop!_OS 26.04 is built on: the same apt packages,
# except COSMIC's own. A user "pop" with passwordless sudo, as configure
# expects an administrator. configure's own packages (install.sh's PACKAGES)
# are already in, to keep each scenario quick; 05-install takes one out.
FROM ubuntu:24.04
FROM ubuntu:26.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends sudo ca-certificates curl dbus-x11 gnome-keyring \
@@ -10,6 +10,6 @@ RUN apt-get update \
jq libsecret-tools python3-gi gir1.2-secret-1 libnotify-bin avahi-utils \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m -s /bin/bash pop && echo 'pop ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/pop \
&& printf 'ID=pop\nNAME="Pop!_OS"\nPRETTY_NAME="Pop!_OS 24.04 LTS (smoketest)"\nVERSION_ID="24.04"\nID_LIKE="ubuntu debian"\nUBUNTU_CODENAME=noble\nVERSION_CODENAME=noble\n' > /etc/os-release
&& printf 'ID=pop\nNAME="Pop!_OS"\nPRETTY_NAME="Pop!_OS 26.04 LTS (smoketest)"\nVERSION_ID="26.04"\nID_LIKE="ubuntu debian"\nUBUNTU_CODENAME=resolute\nVERSION_CODENAME=resolute\n' > /etc/os-release
USER pop
WORKDIR /home/pop