mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-09 17:08:29 +00:00
Handle Xpra fallback on amd64 Docker builds
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:
parent
022bae8496
commit
9ea5ac07c2
1 changed files with 5 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue