mirror of https://github.com/ArduPilot/ardupilot
Revert ".github: workaround for missing kernel modules for 5.4.0-1032-azure"
This reverts commit 1c2e0a887f
.
This commit is contained in:
parent
a285a741df
commit
6ea2f42f8e
|
@ -97,10 +97,7 @@ jobs:
|
||||||
- name: setup can-utils
|
- name: setup can-utils
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
echo "Kernel Version: $(uname -r)"
|
sudo apt-get -y install can-utils iproute2 linux-modules-extra-$(uname -r)
|
||||||
kernel_ver=`uname -r`; if [ "$kernel_ver" = "5.4.0-1032-azure" ]; then sudo apt-get -y install linux-modules-extra-5.4.0-1031-azure;else sudo apt-get -y install linux-modules-extra-$(uname -r) ;fi;
|
|
||||||
kernel_ver=`uname -r`; if [ "$kernel_ver" = "5.4.0-1032-azure" ]; then sudo cp -r /lib/modules/5.4.0-1031-azure /lib/modules/5.4.0-1032-azure;fi;
|
|
||||||
sudo apt-get -y install can-utils iproute2
|
|
||||||
sudo modprobe vcan
|
sudo modprobe vcan
|
||||||
sudo ip link add dev vcan0 type vcan
|
sudo ip link add dev vcan0 type vcan
|
||||||
sudo ip link set up vcan0
|
sudo ip link set up vcan0
|
||||||
|
|
Loading…
Reference in New Issue