Handle Xpra fallback on amd64 Docker builds
Some checks are pending
Build And Publish Docker Images / plan (push) Waiting to run
Build And Publish Docker Images / build (push) Blocked by required conditions

Use the same minimal trixie Xpra fallback package set for any architecture when the preferred Xpra repository is unsatisfiable.

This lets amd64 recover from current xpra beta sid libopenjph dependency drift like arm64 already does.
This commit is contained in:
Alessandro 2026-06-23 21:26:37 +02:00
parent 022bae8496
commit 9ea5ac07c2

View file

@ -46,16 +46,11 @@ install_xpra_repo() {
apt-get update
if ! xpra_install_check; then
if [ "$arch" != "amd64" ]; then
echo "xpra packages are not installable from ${uri} ${suite} for ${arch}; falling back to https://xpra.org trixie"
XPRA_PACKAGES=(xpra-server xpra-x11 xpra-html5)
configure_xpra_repo "https://xpra.org" "trixie" "$arch"
apt-get update
if ! xpra_install_check; then
cat /tmp/xpra-install-check.log
exit 1
fi
else
echo "xpra packages are not installable from ${uri} ${suite} for ${arch}; falling back to https://xpra.org trixie"
XPRA_PACKAGES=(xpra-server xpra-x11 xpra-html5)
configure_xpra_repo "https://xpra.org" "trixie" "$arch"
apt-get update
if ! xpra_install_check; then
cat /tmp/xpra-install-check.log
exit 1
fi