From 478ca5cb5a8e4d097ec9fbd1a3c7237e0cccd090 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 8 Nov 2026 10:04:20 +0000 Subject: Kernel: T9595: replace deprecated MLNX_OFED with DOCA-OFED MLNX_OFED 24.07 is end-of-life and cannot build against Linux 6.13 or newer. Its failures were masked until the build started aborting on the first error. Move to DOCA-OFED 26.07 from DOCA 3.5.0. Patches make it build on 6.18.y, where stable backports changed queue config and XSK metadata APIs in ways OFED does not expect, avoid an unneeded dh-exec build dependency and stop shipping OFED build sources in the modules package, as VyOS only uses precompiled modules. The build no longer needs root. Only kernel packages are built and the host's installed packages are left alone, so all generated files belong to the calling user. mlnx-tools is built separately as the utils package depends on it. The module set is unchanged. --- scripts/package-build/linux-kernel/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/package-build/linux-kernel/build.py') diff --git a/scripts/package-build/linux-kernel/build.py b/scripts/package-build/linux-kernel/build.py index 295f44b9..71af402d 100755 --- a/scripts/package-build/linux-kernel/build.py +++ b/scripts/package-build/linux-kernel/build.py @@ -239,7 +239,7 @@ def build_intel(driver_name: str, commit_id: str, scm_url: str): def build_mellanox_ofed(): """Build Mellanox OFED""" - run(['sudo', './build-mellanox-ofed.sh'], check=True) + run(['./build-mellanox-ofed.sh'], check=True) def build_realtek_r8126(): -- cgit v1.2.3