summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-wireguard-modules.sh
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-30 21:39:48 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-30 21:39:48 +0200
commit5e5e482a1ec0ecd14de8bc37972dd94d7030e720 (patch)
tree36c8f69cca5b298cfdaf6acbff35df57a8d296e9 /packages/linux-kernel/build-wireguard-modules.sh
parent4dd9d433db8a257471bd2f58eff9b4e67ae035fe (diff)
parent8b520c63ac705aa2c35579ebfbc053b5b6a1bccb (diff)
downloadvyos-build-5e5e482a1ec0ecd14de8bc37972dd94d7030e720.tar.gz
vyos-build-5e5e482a1ec0ecd14de8bc37972dd94d7030e720.zip
Merge branch 'kernel-5.8' of github.com:c-po/vyos-build into current
* 'kernel-5.8' of github.com:c-po/vyos-build: Kernel: T2843: drop parallel ATA support Kernel: T2843: enable Multipath TCP support Kernel: T2843: enable APU2 LEDs and front button Kernel: T2843: upgrade Kernel to v5.8.5 WireGuard: T2842: switch to binary package from buster-backports
Diffstat (limited to 'packages/linux-kernel/build-wireguard-modules.sh')
-rwxr-xr-xpackages/linux-kernel/build-wireguard-modules.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/packages/linux-kernel/build-wireguard-modules.sh b/packages/linux-kernel/build-wireguard-modules.sh
deleted file mode 100755
index c45aa2b4..00000000
--- a/packages/linux-kernel/build-wireguard-modules.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-CWD=$(pwd)
-KERNEL_VAR_FILE=${CWD}/kernel-vars
-WIREGUARD_SRC=${CWD}/wireguard-linux-compat
-
-if [ ! -d ${WIREGUARD_SRC} ]; then
- echo "WireGuard source not found"
- exit 1
-fi
-
-if [ ! -f ${KERNEL_VAR_FILE} ]; then
- echo "Kernel variable file '${KERNEL_VAR_FILE}' does not exist, run ./build_kernel.sh first"
- exit 1
-fi
-
-. ${KERNEL_VAR_FILE}
-cd ${WIREGUARD_SRC}
-
-# We need some WireGuard patches for building, it's easier to have them here
-# and make use of the upstream repository instead of maintaining a full fork,
-# saving time/resources is essential :-)
-PATCH_DIR=${CWD}/patches/wireguard-linux-compat
-for patch in $(ls ${PATCH_DIR})
-do
- echo "I: Apply WireGuard patch: ${PATCH_DIR}/${patch}"
- patch -p1 < ${PATCH_DIR}/${patch}
-done
-
-echo "I: Build Debian WireGuard package"
-KERNELDIR=$KERNEL_DIR dpkg-buildpackage -b -us -uc -tc