From 404fec71d1c0a262f831689a7bc79df518e15981 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 25 Jul 2024 15:32:04 +0200 Subject: 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. --- packages/linux-kernel/build-mellanox-ofed.sh | 8 ++++---- 1 file 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" -- cgit v1.2.3