summaryrefslogtreecommitdiff
path: root/packages/linux-kernel
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-07-25 15:32:04 +0200
committerChristian Breunig <christian@breunig.cc>2024-07-25 15:33:29 +0200
commit404fec71d1c0a262f831689a7bc79df518e15981 (patch)
treef8637be2c8e1d4bee3856ac1d6365518ac87acfb /packages/linux-kernel
parent0ce12e4c1a9d3aeffb4d59f262667d1f9e4d3de7 (diff)
downloadvyos-build-404fec71d1c0a262f831689a7bc79df518e15981.tar.gz
vyos-build-404fec71d1c0a262f831689a7bc79df518e15981.zip
mellanox: T6231: add missing KERNEL_SUFFIX for module installation path
All VyOS kernel modules must live in the appropriate module directory, example: /lib/modules/6.6.41-amd64-vyos/ In addition we do not abbreviate script options to make reading easier, without call --help all the time.
Diffstat (limited to 'packages/linux-kernel')
-rwxr-xr-xpackages/linux-kernel/build-mellanox-ofed.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/linux-kernel/build-mellanox-ofed.sh b/packages/linux-kernel/build-mellanox-ofed.sh
index 7418af61..d0b4dbfc 100755
--- a/packages/linux-kernel/build-mellanox-ofed.sh
+++ b/packages/linux-kernel/build-mellanox-ofed.sh
@@ -71,10 +71,10 @@ sudo ./install.pl \
--without-mlnx-nvme-modules \
--with-vma --vma-vpi --vma-eth \
--guest --hypervisor \
- --builddir $DEBIAN_DIR/mlx \
- --distro $DEB_DISTRO \
- -s $KERNEL_DIR \
- -k $KERNEL_VERSION
+ --builddir ${DEBIAN_DIR}/mlx \
+ --distro ${DEB_DISTRO} \
+ --kernel-sources ${KERNEL_DIR} \
+ --kernel ${KERNEL_VERSION}${KERNEL_SUFFIX}
if [ $DROP_DEV_DBG_DEBS -eq 1 ]; then
echo "I: Removing development and debug packages"