From 20f810c40394180d8814d437ce7281d80f8d5102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=A9s?= Date: Tue, 11 May 2021 23:23:48 +0200 Subject: [PATCH] Fix libc6 dependency 2.33 Fix 18.04 build over default kernel --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2ca7e6..48b857b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: include: #Version 4.15.x requested to test Ubuntu 18.04 LTS version - os: ubuntu-18.04 - version: 4.15.0-20-generic + version: $(uname -r) use_apt: true steps: @@ -51,13 +51,14 @@ jobs: [ -z "$AMD64_DEB" ] && exit 2 wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_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 echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV - name: apt-linux-headers if: ${{ matrix.use_apt }} run: | - sudo apt-get install linux-headers-${{matrix.version }} + sudo apt-get install linux-headers-$(uname -r) echo "KVER=${{matrix.version }}" >> $GITHUB_ENV - uses: actions/checkout@v2 - name: build - run: make KVER=$KVER \ No newline at end of file + run: make KVER=$KVER