diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-09 13:43:24 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-09 13:43:24 +0100 |
commit | afa7d9b3bac98623028085007c8c8fbf2a2713d2 (patch) | |
tree | e9627ffbdc724de63662626cede0970815acf3e4 /packages/linux-kernel/build-wireguard-modules.sh | |
parent | 3ded1cdb3b636450c20985c6e83a5255b5db9e9b (diff) | |
parent | 21b441b75a8e96628751a9b12a10660947752ad0 (diff) | |
download | vyos-build-afa7d9b3bac98623028085007c8c8fbf2a2713d2.tar.gz vyos-build-afa7d9b3bac98623028085007c8c8fbf2a2713d2.zip |
Merge branch 'kernel-5.10' into current
* kernel-5.10:
QAT: update to 1.7.l.4.12.0
Kernel: Initial support for 5.10.4
Diffstat (limited to 'packages/linux-kernel/build-wireguard-modules.sh')
-rwxr-xr-x | packages/linux-kernel/build-wireguard-modules.sh | 30 |
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 |