Merge pull request #860 from CGarces/patch-6

Fix libc6 dependency 2.33
This commit is contained in:
Christian Bremvåg 2021-05-21 22:58:44 +02:00 committed by GitHub
commit 0b87ed921a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ jobs:
include: include:
#Version 4.15.x requested to test Ubuntu 18.04 LTS version #Version 4.15.x requested to test Ubuntu 18.04 LTS version
- os: ubuntu-18.04 - os: ubuntu-18.04
version: 4.15.0-20-generic version: $(uname -r)
use_apt: true use_apt: true
steps: steps:
@ -51,12 +51,13 @@ jobs:
[ -z "$AMD64_DEB" ] && exit 2 [ -z "$AMD64_DEB" ] && exit 2
wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_DEB wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_DEB
wget -nv ${KERNEL_URL}v${VERSION}/$ALL_DEB wget -nv ${KERNEL_URL}v${VERSION}/$ALL_DEB
wget -nv http://mirrors.kernel.org/ubuntu/pool/main/g/glibc/libc6_2.33-0ubuntu5_amd64.deb
sudo dpkg --force-all -i *.deb sudo dpkg --force-all -i *.deb
echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV
- name: apt-linux-headers - name: apt-linux-headers
if: ${{ matrix.use_apt }} if: ${{ matrix.use_apt }}
run: | run: |
sudo apt-get install linux-headers-${{matrix.version }} sudo apt-get install linux-headers-$(uname -r)
echo "KVER=${{matrix.version }}" >> $GITHUB_ENV echo "KVER=${{matrix.version }}" >> $GITHUB_ENV
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: build - name: build