Upgrade to glibc2.31 for Linux builds (#1967)

This commit is contained in:
Michael Telatynski 2024-10-30 10:41:55 +00:00 committed by GitHub
parent 540674d1cb
commit 77bd50725e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -144,7 +144,7 @@ jobs:
./scripts/glibc-check.sh $filename ./scripts/glibc-check.sh $filename
done done
env: env:
MAX_VER: 2.28 # buster-era glibc MAX_VER: 2.31 # bullseye-era glibc
build: build:
needs: hak needs: hak

View File

@ -1,5 +1,6 @@
# Docker image to facilitate building Element Desktop's native bits using a glibc version with broader compatibility # Docker image to facilitate building Element Desktop's native bits using a glibc version (2.31)
FROM rust:buster # with broader compatibility, down to Debian bullseye & Ubuntu focal.
FROM rust:bullseye
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive

View File

@ -135,6 +135,8 @@ const config: Writable<Configuration> = {
"Replaces: riot-desktop (<< 1.7.0), riot-web (<< 1.7.0)", "Replaces: riot-desktop (<< 1.7.0), riot-web (<< 1.7.0)",
"--deb-field", "--deb-field",
"Breaks: riot-desktop (<< 1.7.0), riot-web (<< 1.7.0)", "Breaks: riot-desktop (<< 1.7.0), riot-web (<< 1.7.0)",
"--deb-pre-depends",
"libc6 (>= 2.31)",
], ],
}, },
mac: { mac: {