diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-11-08 10:04:20 +0000 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-11-08 14:53:39 +0000 |
| commit | 478ca5cb5a8e4d097ec9fbd1a3c7237e0cccd090 (patch) | |
| tree | 4393e169274deea97d7e8a6bbcf3bc1a6bb80d20 /scripts/package-build/linux-kernel/build.py | |
| parent | b541dd70eedd78455861af42cfd262e712a75803 (diff) | |
| download | vyos-build-478ca5cb5a8e4d097ec9fbd1a3c7237e0cccd090.tar.gz vyos-build-478ca5cb5a8e4d097ec9fbd1a3c7237e0cccd090.zip | |
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.
Diffstat (limited to 'scripts/package-build/linux-kernel/build.py')
| -rwxr-xr-x | scripts/package-build/linux-kernel/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |
