diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-16 21:58:49 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-07-16 21:58:49 +0200 |
commit | fe533f7605c7946283c4cd0872a4cc5f4d063e2d (patch) | |
tree | 55db32188cedaf63af58fa7012f52db1350eeccf /packages | |
parent | 8c5089b4bb6c0c0f9d546c3a8ac88bd66b633ad0 (diff) | |
download | vyos-build-fe533f7605c7946283c4cd0872a4cc5f4d063e2d.tar.gz vyos-build-fe533f7605c7946283c4cd0872a4cc5f4d063e2d.zip |
Kernel: T4974: fix kernel module install path
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/linux-kernel/build-openvpn-dco.sh | 4 |
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 efe4ba2..fd42782 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 .. |