.github: fix issue with another actions kernel release missing modules

This commit is contained in:
bugobliterator 2021-07-29 22:01:38 +05:30 committed by Andrew Tridgell
parent 6e68292c62
commit f3a52999d8
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ jobs:
- name: setup can-utils
run: |
kernel_ver=`uname -r`
if [ "$kernel_ver" = "5.4.0-1032-azure" ]; then echo "Unsupported Kernel $kernel_ver" && exit 0; fi;
if [ "$kernel_ver" = "5.4.0-1032-azure" ] || [ "$kernel_ver" = "5.11.4-051104-generic" ]; then echo "Unsupported Kernel $kernel_ver" && exit 0; fi;
sudo apt-get update
sudo apt-get -y install can-utils iproute2 linux-modules-extra-$(uname -r)
sudo modprobe vcan
@ -112,6 +112,6 @@ jobs:
shell: bash
run: |
kernel_ver=`uname -r`
if [ "$kernel_ver" = "5.4.0-1032-azure" ]; then echo "Unsupported Kernel $kernel_ver" && exit 0; fi;
if [ "$kernel_ver" = "5.4.0-1032-azure" ] || [ "$kernel_ver" = "5.11.4-051104-generic" ]; then echo "Unsupported Kernel $kernel_ver" && exit 0; fi;
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh