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:
@@ -134,8 +134,12 @@ case "$1" in
|
||||
exit 2 ;;
|
||||
esac
|
||||
|
||||
if os_too_old; then
|
||||
echo -e "\e[31mThis needs Pop!_OS 26.04 or later; this computer runs $(os_name). Upgrade first.\e[0m"
|
||||
exit 1
|
||||
fi
|
||||
if ! is_pop; then
|
||||
echo -e "\e[33mThis is made for Pop!_OS with COSMIC; this computer runs $(os_name).\e[0m"
|
||||
echo -e "\e[33mThis is made for Pop!_OS 26.04 or later with COSMIC; this computer runs $(os_name).\e[0m"
|
||||
echo "Most of it works on other Ubuntu-based systems too."
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user