Stop using the WireGuard PPA
The WireGuard PPA is no longer available, because the module is
supposed to be made available by the kernel packages in Ubuntu
itself.
While we're at it, drop the obsolete fixes for the 1020 kernels.
@@ -31,15 +31,7 @@ jobs:
- name: Install WireGuard kernel module (only in WireGuard jobs)
if: matrix.cable_driver == 'wireguard'
run: |
- sudo add-apt-repository -y ppa:wireguard/wireguard # add WireGuard support
- sudo apt update
sudo apt install -y linux-headers-$(uname -r) wireguard wireguard-dkms
- if [[ "$(uname -r)" =~ -1020- ]]; then
- # The 1020 kernel doesn't have skb_reset_redirect in skbuff.h, patch Wireguard so it doesn't need it
- curl https://git.zx2c4.com/wireguard-linux/patch/drivers/net/wireguard/queueing.h\?id=2c64605b590edadb3fb46d1ec6badb49e940b479 \
- | sudo patch -R /usr/src/wireguard*/queueing.h
- sudo dpkg-reconfigure wireguard-dkms
- fi
sudo modprobe wireguard
- name: Reclaim free space
