summaryrefslogtreecommitdiff
path: root/scripts/package-build/linux-kernel
AgeCommit message (Collapse)Author
2026-11-12Merge pull request #1346 from c-po/T9580John Estabrook
Kernel: T9580: unify kexec/kdump and PPP options in common config fragments
2026-11-12Merge pull request #1348 from c-po/T9595-mlx-ofedChristian Breunig
Kernel: T9595: replace deprecated MLNX_OFED with DOCA-OFED
2026-11-08Kernel: T9595: replace deprecated MLNX_OFED with DOCA-OFEDChristian Breunig
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.
2026-11-07Kernel: T9591: add VyOS internal revision to the kernel release stringChristian Breunig
Rebuilding the same upstream kernel with additional patches, e.g. urgent security fixes, produced the exact same release string and package name as the previous build. A patched image could not be told apart from an unpatched one. A new kernel_revision default is now placed between the upstream version and the flavor, so 6.18.60-vyos becomes 6.18.60-1-vyos. It ends up in uname -r, the module directory, the linux-image package name and its Debian version; out-of-tree modules follow automatically. Bump it on every patched rebuild of the same upstream version and reset it to 1 on an upstream bump. The kernel and all module packages must be rebuilt and published along with this change, otherwise the image build cannot find the new linux-image package.
2026-11-05Kernel: T9580: unify kexec/kdump and PPP options in common config fragmentsChristian Breunig
Kexec, kdump, PPTP and PPPoL2TP options were set in both the amd64 and arm64 defconfigs, duplicating or contradicting the shared fragments - x86 even disabled CRASH_DUMP while the debug fragment enabled it. Drop them from the per-arch defconfigs. The kexec options now live next to CRASH_DUMP in the debug fragment, PPTP and PPPoL2TP were already covered by the PPP fragment. The resulting kernel configuration is unchanged.
2026-11-05Kernel: T9577: abort out-of-tree module builds on the first errorChristian Breunig
Several build helpers kept going after a failing command, so a broken patch, compile or signing step could still produce a package and the calling build reported success. Unsigned modules could end up in an image this way. These helpers now stop at the first error. The Mellanox OFED build also exits non-zero when not run as root instead of silently succeeding.
2026-11-05Kernel: T9577: bump Intel out-of-tree NIC drivers to latest releasesChristian Breunig
Now that the pins are honoured, move them to the current upstream releases so images do not fall back to older drivers than they ship today: - igb 5.20.93 - ixgbe 6.5.9 - ixgbevf 5.3.87 - i40e 2.30.83 - ice 2.7.6 - iavf 4.13.78
2026-11-05Kernel: T9577: Intel NIC drivers must honour commit_id from package.tomlChristian Breunig
The Intel out-of-tree driver build reset each source tree to origin/main after the pinned commit_id had been checked out. Every driver was built from whatever was on Intel's main branch, so the pins had no effect and builds were not reproducible. The tree is now reset to the checked-out commit, which still drops leftover patches from a previous run but keeps the pinned release.
2026-10-29T9539: Bump accel-ppp-ng version to 9c2c18eRitika Chopra
2026-10-26secure-boot: T861: use CONFIG_EFI_ZBOOT for signed ARM64 kernelMatthew Kobayashi
2026-10-17Kernel: T9470: Update Linux Kernel to 6.18.57Christian Breunig
2026-10-12Merge pull request #1323 from c-po/T9197-iwlwifi-firmwareViacheslav Hletenko
Kernel: T9197: package iwlwifi firmware the 6.18 driver actually loads
2026-10-11Kernel: T9197: package iwlwifi firmware the 6.18 driver actually loadsChristian Breunig
Firmware was selected by exact match against the names a driver declares. On 6.18 iwlwifi declares only its highest API version, while at runtime it falls back to lower versions, and for Wi-Fi 6/6E parts it caps the API at the MAC family limit. linux-firmware ships none of the declared names, so BE200, AX201, AX210, AX211 and AX411 were left without firmware. For each declared iwlwifi name, the newest available ucode at or below the declared version (core 99 falls back to API 101) is now packaged, together with its PNVM file. Names with no loadable firmware emit a build warning.
2026-10-07T9409: Bump accel-ppp-ng version to dd07b23Ritika Chopra
includes security fix follow-up hardening and message-authenticator support for Blast-RADIUS mitigation
2026-10-06Merge pull request #1317 from c-po/kernel-update-6.18Christian Breunig
Kernel: T9385: Update Linux Kernel to 6.18.55
2026-10-05Kernel: T9385: Update Linux Kernel to 6.18.55Christian Breunig
2026-10-03T9392: Keep kernel objects and don\'t create source tarball by defaultsarthurdev
Adds to cleanup kernel intermediate objects and create source tarball
2026-10-01Kernel: T9014: extend .gitignore with MLNX OFED source codeChristian Breunig
2026-10-01Kernel: T9014: remove erroneously added -x shebang debug flagChristian Breunig
Added in commit 21c7e661 ("Kernel: T5641: enable module compression to save disk space"), the flag is removed again as there is no need for it.
2026-10-01Kernel: T9014: document the Kernel configuration flowChristian Breunig
The README still described the pre-T8506 flow, where a single x86_64_vyos_defconfig was copied into arch/x86/configs of the Kernel source tree. That file and that flow no longer exist, and the text also claimed the Kernel was 6.6 and that only amd64 was built. Describe what actually happens: a per architecture base config selected from dpkg --print-architecture, the config/*.config snippets merged on top in file name order, and the module signing snippet generated at build time.
2026-10-01Kernel: T9014: enable VIRTIO_IOMMU on arm64Christian Breunig
Smoketest test_kernel_options.py::test_hypervisor_virtio fails on arm64. The test is not architecture gated and checks fifteen virtio options, of which VIRTIO_IOMMU was the only one not enabled on arm64 - amd64 has it as a module already. The driver is available here, it is "depends on VIRTIO && (ARM64 || X86)", and it is what QEMU virt machines use, so build it as a module to match amd64. ACPI_VIOT comes along because VIRTIO_IOMMU selects it.
2026-10-01Kernel: T9014: regenerate arm64 base config against Linux 6.18Christian Breunig
The arm64 base config was still the dump of a 6.6.15 configuration. It had only ever been hand edited per feature, never regenerated, so building 6.18.x produced 91 warnings from merge_config.sh: Value requested for CONFIG_AS_HAS_LSE_ATOMICS not in final .config Requested value: CONFIG_AS_HAS_LSE_ATOMICS=y Actual value:
2026-10-01Kernel: T9014: keep architecture specific options out of shared snippetsChristian Breunig
The config/*.config snippets are merged on every architecture, so an option that only exists on one of them is reported as a mismatch on the others: Value requested for CONFIG_NETLABEL not in final .config Requested value: # CONFIG_NETLABEL is not set Actual value: Three options are only available on amd64 and were sitting in the shared snippets. Move them to the amd64 base config, each next to the symbol that gates it: * XFRM_USER_COMPAT needs COMPAT_FOR_U64_ALIGNMENT * HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON needs ARCH_WANT_OPTIMIZE_HUGETLB_VMEMMAP * NETLABEL depends on SECURITY, which arm64 does not enable
2026-10-01Kernel: T9014: build WWAN drivers in on arm64, completing T8938Christian Breunig
T8938 consolidated the WWAN build time options into config/12-wwan.config and requested the USB WWAN drivers as built-in. That only ever took effect on amd64. On arm64 all of them silently ended up as modules, because a tristate can never exceed the value of what it depends on and the arm64 base config had USB_USBNET=m and USB_SERIAL=m, while amd64 had both =y. Pull the two parents into the snippet so the requested =y is reachable on every architecture - this is a no-op on amd64 where they were already =y.
2026-10-01Kernel: T9385: Update Linux Kernel to 6.18.54Christian Breunig
2026-09-15T9321: Update accel-ppp-ng to the 306fff8 versionViacheslav Hletenko
Update accel-ppp-ng to the 306fff8 version includes multiple upstream fixes
2026-09-10Kernel: T9298: make linux-firmware package architecture awareChristian Breunig
Currently when the Kernel is build and creates the vyos-linux-firmware package, the Kernel modules are inspected and the firmware file string is extracted. This is the case for years. Now with ARM64 on the doorstep, we would assemble the vyos-linux-firmware package twice, once for x86_64 and once for amd64. The generated package is for CPU architecture all - as the package is build twice, the longer running build will win -> perfect race condition.
2026-09-07T9286: Update accel-ppp-ng to the 8cb6287 version multiple security fixesViacheslav Hletenko
Update accel-ppp-ng to the 8cb6287 version, which includes multiple security fixes, merged in the https://github.com/accel-ppp/accel-ppp-ng/pull/40
2026-09-06Kernel: T9283: run Accel-PPP depmod for the target Kernel versionChristian Breunig
The Accel-PPP maintainer scripts call depmod without a Kernel version, so it uses the version reported by uname of the build host instead of the VyOS Kernel the ipoe and vlan_mon modules were compiled for. The ISO build therefore logs: depmod: ERROR: could not open directory /lib/modules/6.1.0-52-amd64 depmod: FATAL: could not search modules Add a patch that generates the maintainer scripts from a template so the module directory version known to the build is substituted and handed to depmod explicitly. The same version is already passed to the build via MODULES_KDIR, and the uname fallback for standalone builds stays untouched.
2026-09-02Kernel: T9272: update Intel out-of-tree IXGBE and ICE driversChristian Breunig
* ixgbe v6.4.4 -> v6.4.5 * ice v2.6.6 -> v2.6.7
2026-08-18T9187: Update accel-ppp-ng version to c7b67ebViacheslav Hletenko
Fixes accel-ppp: vlan-mon does not create dynamic VLAN interfaces
2026-08-11kernel: T9197: enable CONFIG_IWLMLDStephen Nothnagel
Kernel 6.18 moved Intel BE200/BE-series (Wi-Fi 7) devices to the new iwlmld op-mode driver: their dev_info entries in iwlwifi's pcie/drv.c are guarded by IS_ENABLED(CONFIG_IWLMLD). The VyOS kernel config enables IWLWIFI/IWLDVM/IWLMVM but not IWLMLD, so BE-series support is compiled out and probing fails with error -22 (no wlan interface is created). Enable IWLMLD as a module on x86 and arm64, matching the existing IWLDVM/IWLMVM op-modes. The firmware these devices need is already shipped by the linux-firmware package.
2026-08-11T9198: Update the accel-ppp-ng package version to 9654bb6 Viacheslav Hletenko
Update the accel-ppp-ng version to 9654bb6 Includes fixes for T8391 (Bonding interface permission errors with custom ethernet MTU)
2026-08-08Kernel: T9181: replace fpm with real Debian packaging, drop fpm entirelyChristian Breunig
Convert build-nat-rtsp.sh, build-ipt-netflow.sh, build-intel-nic.sh, build-intel-qat.sh and build-linux-firmware.sh from fpm to debmake + debuild, matching the jool/realtek packaging style.
2026-08-08Kernel: T9181: stop re-reading data/defaults.toml during buildChristian Breunig
build-kernel.sh parsed kernel_flavor out of defaults.toml itself via a brittle awk one-liner, even though build.py already has that value from its own defaults.toml read. Pass kernel_flavor down as an env var instead, so defaults.toml is read in exactly one place (build.py's main) and everything downstream flows through kernel-vars or explicit parameters.
2026-08-08Kernel: T9181: convert jool/realtek sub-package scripts from Python to bashChristian Breunig
Rewrite build-jool.py, build-realtek-r8126.py and build-realtek-r8152.py as build-*.sh, matching the Bash convention already used by every other sub-dependency script in this directory (kernel-vars sourcing, debmake + debuild packaging).
2026-08-08Kernel: T9181: skip redundant VPP rebuild for accel-ppp-ngChristian Breunig
Accel-PPP-ng only links against a few VPP libraries, but the build triggered a full VPP package rebuild (make pkg-deb) on every run, with no caching. Skip that step when the required VPP libraries already exist from a previous run. Delete them to force a rebuild.
2026-08-06Kernel: T9170: support compressed modules when searching module firmwareChristian Breunig
Commit 21c7e661 ("Kernel: T5641: enable module compression to save disk space") which enabled module compression using XZ missed that when we search modules for firmware inclusion, the pattern was hardcoded to *.ko instead of *.ko* - this has been fixed.
2026-08-02Merge pull request #1256 from vyos/sever-sever-patch-1Christian Breunig
T9147: Bump accel-ppp-ng version to 9874ea3
2026-08-02Kernel: T9067: Update Linux Kernel to 6.18.41Christian Breunig
Upgrade rolling release Kernel version. Changelogs: * 6.18.41 https://lwn.net/Articles/1086227/ * 6.18.40 https://lwn.net/Articles/1084923/ * 6.18.39 https://lwn.net/Articles/1083464/
2026-07-30T9147: Bump accel-ppp-ng version to 9874ea3sever-sever-patch-1Viacheslav Hletenko
This version includes a fix for T8391: Bonding interface permission errors with custom Ethernet MTU
2026-07-28kernel: T9138: enable support for Microsoft MANA NIC driverDaniil Baturin
2026-07-20Merge pull request #1248 from c-po/arm64-kernelDaniil Baturin
Kernel: T9103: fix arm64 syscalltbl path breaking linux-perf package build
2026-07-19Kernel: T9103: fix arm64 syscalltbl path breaking linux-perf package buildChristian Breunig
Building linux-perf-* on a native arm64 build host failed with "No rule to make target '.../unistd_64.h'" because arch/arm64/kernel/Makefile.syscalls overrides syscalltbl with a path relative to the kernel root, but tools/lib/perf/Makefile invokes the header generator from tools/lib/perf/ instead. Make the override absolute, matching the srctree-prefixed default.
2026-07-17Merge pull request #1243 from alexandr-san4ez/T8868-rollingViacheslav Hletenko
Kernel: T8868: Enable crash dump (kdump) and debug info in config
2026-07-15Merge pull request #1239 from c-po/compress-kernel-modulesViacheslav Hletenko
Kernel: T5641: enable module compression to save disk space
2026-07-10Kernel: T8868: Enable crash dump (kdump) and debug info in configOleksandr Kuchmystyi
Enabling the following options allows us to use `kdump-tools`: - `CONFIG_CRASH_DUMP` - `CONFIG_DEBUG_INFO` - `CONFIG_PROC_VMCORE`
2026-07-08Merge pull request #1238 from c-po/kernel-update-6.18.38Christian Breunig
Kernel: T9067: Update Linux Kernel to 6.18.38
2026-07-08Kernel: T5641: add --keep-kernel build option to not call "make mrproper"Christian Breunig
Option useful during development to not automatically clean the Linux Kernel source folder of all its intermediate files.
2026-07-08Kernel: T5641: enable module compression to save disk spaceChristian Breunig
After signing the Linux Kernel modules with the ephemeral key, proceed by compressing the Kernel modules with xz to reduce the final ISO image size. Initial tests have shown a size reduction by 60MiB.