Skip to content

Commit dd15388

Browse files
committed
update glibc version string from archlinux web
1 parent f174ad2 commit dd15388

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
# force zstd format in appimagebuilder for appimages
4545
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py
4646
47+
# pull glibc version from archlinux packages web
48+
sed -i "s|x.xx|$(wget -qO- https://archlinux.org/packages/core/x86_64/glibc/ | grep glibc | awk '{print $5}' | cut -d'+' -f1 | head -1)|" wine-stable.yml
49+
4750
squashfs-root/AppRun --recipe wine-stable.yml
4851
4952
- name: release
@@ -83,6 +86,9 @@ jobs:
8386
# force zstd format in appimagebuilder for appimages
8487
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py
8588
89+
# pull glibc version from archlinux packages web
90+
sed -i "s|x.xx|$(wget -qO- https://archlinux.org/packages/core/x86_64/glibc/ | grep glibc | awk '{print $5}' | cut -d'+' -f1 | head -1)|" wine-devel.yml
91+
8692
squashfs-root/AppRun --recipe wine-devel.yml
8793
8894
- name: release
@@ -122,6 +128,9 @@ jobs:
122128
# force zstd format in appimagebuilder for appimages
123129
rm appimage-builder ; sed -i 's|xz|zstd|' squashfs-root/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py
124130
131+
# pull glibc version from archlinux packages web
132+
sed -i "s|x.xx|$(wget -qO- https://archlinux.org/packages/core/x86_64/glibc/ | grep glibc | awk '{print $5}' | cut -d'+' -f1 | head -1)|" wine-staging.yml
133+
125134
squashfs-root/AppRun --recipe wine-staging.yml
126135
127136
- name: release

wine-devel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ AppDir:
253253
runtime:
254254
env:
255255
LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}'
256-
APPDIR_LIBC_VERSION: '2.39'
256+
APPDIR_LIBC_VERSION: 'x.xx'
257257

258258
path_mappings:
259259
- /opt/wine-devel:$APPDIR/opt/wine-devel

wine-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ AppDir:
244244
runtime:
245245
env:
246246
LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}'
247-
APPDIR_LIBC_VERSION: '2.39'
247+
APPDIR_LIBC_VERSION: 'x.xx'
248248

249249
path_mappings:
250250
- /opt/wine-stable:$APPDIR/opt/wine-stable

wine-staging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ AppDir:
253253
runtime:
254254
env:
255255
LIBGL_DRIVERS_PATH: '${APPDIR}/usr/lib/i386-linux-gnu/dri:${APPDIR}/usr/lib/x86_64-linux-gnu/dri:${LIBGL_DRIVERS_PATH}'
256-
APPDIR_LIBC_VERSION: '2.39'
256+
APPDIR_LIBC_VERSION: 'x.xx'
257257

258258
path_mappings:
259259
- /opt/wine-staging:$APPDIR/opt/wine-staging

0 commit comments

Comments
 (0)