| Age | Commit message (Collapse) | Author |
|
containerlab uses the image healthcheck to determine when a VyOS node is
ready, see https://containerlab.dev/manual/kinds/vyosnetworks_vyos/
A rootfs tarball carries no OCI image configuration, so this can only be
attached when the tarball is imported.
|
|
Adjust systemd units for containerized operation - this is what the containerlab
documentation asks users to do in their Dockerfile, but as we ship a ready made
rootfs there is no build stage where "systemctl" could be run.
Masking and disabling is nothing but symlink handling below /etc/systemd, so we
can do it offline (and cross-architecture) right here.
|
|
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.
|
|
|
|
|
|
Re-partitioning a disk and adding it back to the array can take significantly
longer then the default pexpect timeout of 30 seconds.
|
|
Kernel: T9272: update Intel out-of-tree IXGBE and ICE drivers
|
|
* ixgbe v6.4.4 -> v6.4.5
* ice v2.6.6 -> v2.6.7
|
|
/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.
|
|
|
|
Instead of duplicating the code testing if a binary is present required
for the script, use a list and loop instead.
|
|
|
|
|
|
Can be compresed with up to 75% ratio.
|
|
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.
|
|
|
|
|
|
podman: T9129: Fix podman prefix directory
|
|
|
|
|
|
Fixes accel-ppp: vlan-mon does not create dynamic VLAN interfaces
|
|
T9209: Update the Strongswan version to 6.0.7-1
|
|
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.
|
|
|
|
Testsuite: T3871: extend testifname with diagnostics and mac-order regression
|
|
Testsuite: T9217: use separate SCSI controller for RAID-1 UEFI testcase
|
|
"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.
|
|
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.
|
|
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>
|
|
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.
|
|
Testsuite: T3871: change testcase to use multiple NIC drivers
|
|
ddclient: T6981: Upgrade ddclient to v4.0.0
|
|
|
|
|
|
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.
|
|
Update the accel-ppp-ng version to 9654bb6
Includes fixes for T8391
(Bonding interface permission errors with custom ethernet MTU)
|
|
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.
|
|
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.
|
|
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).
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Package update required in lockstep mode to add support for renaming podman
macvlan interfaces.
|
|
T9147: Bump accel-ppp-ng version to 9874ea3
|
|
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/
|
|
This version includes a fix for
T8391: Bonding interface permission errors with custom Ethernet MTU
|
|
build: T9140: include version and flavor information in the boot menu
|
|
|
|
|