mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 07:24:59 +01:00
Upgrade to glibc2.31 for Linux builds (#1967)
This commit is contained in:
parent
540674d1cb
commit
77bd50725e
2
.github/workflows/build_linux.yaml
vendored
2
.github/workflows/build_linux.yaml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user