summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2026-09-01oci: T9269: fix /config symlink creationChristian Breunig
/config already exists as an empty directory in the squashfs, so "ln -s /opt/vyatta/etc/config /config" did not create the intended symlink - it placed one at /config/config and left /config a dead directory. Verified in a running container built from the previous OCI image: readlink /config -> (empty) ls -ld /config -> drwxr-xr-x 2 root root 4096 /config readlink /config/config-> /opt/vyatta/etc/config Remove the directory first, refusing to continue if it ever carries content, so the breakage cannot silently reappear.
2026-09-01oci: T9269: use list of dependent toolsChristian Breunig
Instead of duplicating the code testing if a binary is present required for the script, use a list and loop instead.
2026-09-01oci: T9269: add proper " escaping for printing image import commandChristian Breunig
2026-09-01oci: T9269: seed the VyOS pre-login bannerChristian Breunig
2026-09-01oci: T9269: compress container image with XZChristian Breunig
Can be compresed with up to 75% ratio.
2026-08-31oci: T9265: add CPU architecture (fallback amd64) to image filenameChristian Breunig
Generated OCI images are now named vyos-<version>-oci-<arch>.tar (e.g. vyos-1.5.1-oci-amd64.tar) so amd64 and arm64 artifacts no longer collide. The architecture is read from the ISO version.json, falling back to amd64 for older ISOs built before ARM64 support was added.
2026-08-30oci: T9265: add support for ARM64 container image generationChristian Breunig
2026-08-22Merge pull request #1277 from sarthurdev/T9129John Estabrook
podman: T9129: Fix podman prefix directory
2026-08-20podman: T9129: Fix podman prefix directorysarthurdev
2026-08-19T9203: refactor SBOM generation scriptasklymenko
2026-08-18T9187: Update accel-ppp-ng version to c7b67ebViacheslav Hletenko
Fixes accel-ppp: vlan-mon does not create dynamic VLAN interfaces
2026-08-18Merge pull request #1274 from sever-sever/T9209Kyrylo Yatsenko
T9209: Update the Strongswan version to 6.0.7-1
2026-08-17Testsuite: T9014: restrict to amd64/arm64 and require --uefi on arm64Christian Breunig
QEMU_CONFIG only defines profiles for amd64 and arm64, and arm64 guests only boot via UEFI, so fail fast with a clear message instead of running into an unsupported-architecture error deep into the install.
2026-08-17T9209: Update the Strongswan version to 6.0.7-1Viacheslav Hletenko
2026-08-17Merge pull request #1268 from c-po/boot-ifname-race-2Christian Breunig
Testsuite: T3871: extend testifname with diagnostics and mac-order regression
2026-08-17Merge pull request #1271 from c-po/smoketest-raid-uefiAndrii Klymenko
Testsuite: T9217: use separate SCSI controller for RAID-1 UEFI testcase
2026-08-17Testsuite: T9217: use separate SCSI controller for RAID-1 UEFI testcaseChristian Breunig
"make testraid -- --uefi" fails. Install and first boot succeed normally under UEFI, but the test then simulates a failed RAID-1 member by wiping the primary disk and rebooting off the surviving mirror disk. That reboot never reaches a login prompt. OVMF only honors QEMU's per-device "bootindex" when disks sit behind separate PCI controllers; sharing one virtio-scsi-pci controller via SCSI LUN makes it always boot LUN 0 regardless of bootindex.
2026-08-16Testsuite: T9214: make GRUB console-select navigation non-fatal on auto-boot ↵Christian Breunig
race Commit 7c33698e ("Testsuite: T9214: fix GRUB auto-boot race in console-select navigation") narrowed the race between GRUB's own auto-boot countdown and this script's post-install "Boot options" navigation, but did not close it: the countdown is timed from when GRUB itself draws the menu, not from when this script's regex match on the menu banner returns, so under host load GRUB can still auto-boot before we react. When that happens, the subsequent child.expect('Select console type', ...) blocks for the full timeout waiting for a submenu that was never entered, then raises and aborts the test even though the default entry already booted a working serial console (the installer always answers 'S' to the console-type prompt). Wrap the submenu navigation in a try/except so losing this race just logs a warning and falls through instead of crashing, letting the already-auto-booted default entry carry on into the login wait that already tolerates this case.
2026-08-15Testsuite: T3871: extend testifname with diagnostics and mac-order regressionChristian Breunig
Add diagnostic CLI/log output after each reboot in --ifnametest so a failure shows hw-id bindings, interface state and kernel/naming log lines directly on the console instead of only the final MAC-mapping exception. Split the single reboot into independent scenarios, since a pending node (hw-id cleared, node kept) only auto-resolves when it's the sole candidate of its type in that boot: - full interface delete, verifying it backfills its own gap - hw-id-only delete, verifying the pending node reclaims its own hardware - a deterministic MAC-order-mismatch case (swapped eth1/eth2 hw-id, simulating an already-provisioned box) combined with a delete + hw-id-clear in the same boot, verifying the settings-bearing node is never silently bound to the other freed NIC's hardware Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-14Testsuite: T9214: fix GRUB auto-boot race in console-select navigationChristian Breunig
Commit 2d525e9a88 ("Testsuite: T9099: harden GRUB console-select navigation with expect() check") added expect() checks after each GRUB submenu transition in BOOTLOADERchooseSerialConsole(), but did not fix the underlying race it described: on the installed system, BOOTLOADER_LOAD_TMO (5s) is slept before the first KEY_DOWN is sent, while that system's top-level GRUB menu auto-boots its default entry after the same 5s with no margin. Under host load the countdown could win, so GRUB booted straight past "Boot options" and the new child.expect('Select console type', ...) then blocked for the full BOOTLOADER_TMO waiting for text that would never appear. Send the first navigation key immediately after the GRUB banner is detected instead of sleeping first, so the auto-boot countdown is cancelled right away rather than raced against.
2026-08-14Merge pull request #1253 from c-po/boot-ifname-raceDaniil Baturin
Testsuite: T3871: change testcase to use multiple NIC drivers
2026-08-14Merge pull request #1159 from indrajitr/ddclient-v4Daniil Baturin
ddclient: T6981: Upgrade ddclient to v4.0.0
2026-08-14T9203: Enrich SBOM files with additional metadataasklymenko
2026-08-12T9203: Enrich SBOM files with additional metadataasklymenko
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-06Testsuite: T3871: add testifname Makefile targetChristian Breunig
Testcase removes NIC definition entirely and on a second NIC drops only the hw-id node. Testcase is there to verify proper ordering which simulates a NIC replacement.
2026-08-06Testsuite: T3871: change testcase to use multiple NIC driversChristian Breunig
Extend testcase to use multiple differen virtual NIC drivers to also see if they are always placed in the same order - given my ascending MAC addresses.
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-04podman: T7736: update netavark and aardvark-dns packagesChristian Breunig
Package update required in lockstep mode to add support for renaming podman macvlan interfaces.
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-30Merge pull request #1255 from dmbaturin/T9140-boot-menu-version-flavorAndrii Klymenko
build: T9140: include version and flavor information in the boot menu
2026-07-28build: T9140: include version and flavor information in the boot menuDaniil Baturin
2026-07-28kernel: T9138: enable support for Microsoft MANA NIC driverDaniil Baturin
2026-07-27Merge pull request #1252 from c-po/iproute2Viacheslav Hletenko
iproute2: T8926: add custom build which matches Kernel 6.18
2026-07-24iproute2: T8926: add custom build which matches Kernel 6.18Christian Breunig
2026-07-23T9124: Fix smoketest file checksarthurdev
The prior expect of 'No such file or directory' can prevent smoketests from completing if test fails with that same error
2026-07-23Testsuite: T9021: answer question during test for bash_history migrationChristian Breunig
2026-07-20Merge pull request #1247 from c-po/smoketest-fixesViacheslav Hletenko
T9099: improve test framework - add safeguards
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-17Testsuite: T9099: harden GRUB console-select navigation with expect() checksChristian Breunig
BOOTLOADERchooseSerialConsole() sent fixed DOWN/ENTER keystrokes with blind sleeps to navigate the post-install GRUB "Boot options" and "Select console type" submenus. Under host load, a dropped keystroke could land navigation one level too deep (e.g. "Select boot mode" instead of "Select console type"). GRUB submenus never time out on their own, so the VM sat there until the unrelated 600s login wait in loginVM() expired, producing a confusing pexpect.TIMEOUT far from the real cause. Add child.expect() checks after each submenu transition to confirm the expected menu actually rendered before sending the next keypress, so a misnavigation now fails fast and points at the right step.
2026-07-17Merge pull request #1246 from c-po/sbom-fixAndrii Klymenko
sbom: T9098: syft should run un squashfs instead of unpacked chroot
2026-07-17Merge pull request #1243 from alexandr-san4ez/T8868-rollingViacheslav Hletenko
Kernel: T8868: Enable crash dump (kdump) and debug info in config