mirror of https://github.com/ArduPilot/ardupilot
.github: fix issue with another actions kernel release missing modules
This commit is contained in:
parent
6e68292c62
commit
f3a52999d8
|
@ -100,7 +100,7 @@ jobs:
|
||||||
- name: setup can-utils
|
- name: setup can-utils
|
||||||
run: |
|
run: |
|
||||||
kernel_ver=`uname -r`
|
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 update
|
||||||
sudo apt-get -y install can-utils iproute2 linux-modules-extra-$(uname -r)
|
sudo apt-get -y install can-utils iproute2 linux-modules-extra-$(uname -r)
|
||||||
sudo modprobe vcan
|
sudo modprobe vcan
|
||||||
|
@ -112,6 +112,6 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
kernel_ver=`uname -r`
|
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"
|
PATH="/github/home/.local/bin:$PATH"
|
||||||
Tools/scripts/build_ci.sh
|
Tools/scripts/build_ci.sh
|
||||||
|
|
Loading…
Reference in New Issue