diff options
author | Christian Breunig <christian@breunig.cc> | 2024-07-25 15:32:04 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-07-25 15:33:29 +0200 |
commit | 404fec71d1c0a262f831689a7bc79df518e15981 (patch) | |
tree | f8637be2c8e1d4bee3856ac1d6365518ac87acfb | |
parent | 0ce12e4c1a9d3aeffb4d59f262667d1f9e4d3de7 (diff) | |
download | vyos-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.
-rwxr-xr-x | packages/linux-kernel/build-mellanox-ofed.sh | 8 |
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" |