From fe533f7605c7946283c4cd0872a4cc5f4d063e2d Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 16 Jul 2023 21:58:49 +0200 Subject: Kernel: T4974: fix kernel module install path --- packages/linux-kernel/build-openvpn-dco.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/linux-kernel/build-openvpn-dco.sh b/packages/linux-kernel/build-openvpn-dco.sh index efe4ba2a..fd427825 100755 --- a/packages/linux-kernel/build-openvpn-dco.sh +++ b/packages/linux-kernel/build-openvpn-dco.sh @@ -18,7 +18,7 @@ fi cd ${SRC} && make KERNEL_SRC=$KERNEL_DIR # Copy binary to package directory -DEBIAN_DIR=lib/modules/${KERNEL_VERSION}${KERNEL_SUFFIX}/extra +DEBIAN_DIR=tmp/lib/modules/${KERNEL_VERSION}${KERNEL_SUFFIX}/extra mkdir -p ${DEBIAN_DIR} cp drivers/net/ovpn-dco/ovpn-dco-v2.ko ${DEBIAN_DIR} @@ -28,6 +28,6 @@ fpm --input-type dir --output-type deb --name openvpn-dco \ --maintainer "VyOS Package Maintainers " \ --description "OpenVPN Data Channel Offload" \ --depends linux-image-${KERNEL_VERSION}${KERNEL_SUFFIX} \ - --license "GPL2" -C ${DEBIAN_DIR} + --license "GPL2" --chdir tmp mv *.deb .. -- cgit v1.2.3