summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/build-openvpn-dco.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux-kernel/build-openvpn-dco.sh')
-rwxr-xr-xpackages/linux-kernel/build-openvpn-dco.sh4
1 files changed, 2 insertions, 2 deletions
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 <maintainers@vyos.net>" \
--description "OpenVPN Data Channel Offload" \
--depends linux-image-${KERNEL_VERSION}${KERNEL_SUFFIX} \
- --license "GPL2" -C ${DEBIAN_DIR}
+ --license "GPL2" --chdir tmp
mv *.deb ..