733 Commits

Author SHA1 Message Date
sarthurdev
0564ccd787 tpm: T7628: Fix typo in test expected string 2025-07-31 12:15:48 +02:00
Kyrylo Yatsenko
4f377768e2 T7537: aws-gwlbtun: update to c1fd48b
Updated aws-gwlbtun requires boost too new for Debian bookworm,
but requires only one header-only library.

* Add download/installation of thist boost header library.
* Set path to this boost installation via cmake options.
2025-07-30 07:30:07 +03:00
Daniil Baturin
3e02e42e76
Merge pull request #999 from sarthurdev/T7628
tpm: T7628: Extend test for non-TPM backed encryption
2025-07-29 15:54:15 +01:00
Christian Breunig
dbf36b928f
Merge pull request #998 from sever-sever/T7639
T7639: Add patches to fix FRR reload for IS-IS segment routing
2025-07-29 16:03:55 +02:00
Christian Breunig
bd78d813e3
Merge pull request #1000 from c-po/frr-build-fix
frr: T7663: add missing build dependencies libnl-3-dev & libpcre3-dev
2025-07-28 19:52:11 +02:00
Christian Breunig
a411efebe1 frr: T7663: add missing build dependencies libnl-3-dev & libpcre3-dev 2025-07-28 19:35:36 +02:00
Christian Breunig
330746b55b frr: T7663: remove custom rtrlib build - package included in Debian Bookworm 2025-07-28 19:34:50 +02:00
Viacheslav
c031b92ed0 T7639: Add patches to fix FRR reload for IS-IS segment routing 2025-07-28 12:48:44 +00:00
Kyle McClammy
3db3ab879d T7175: Downgraded vpp-sflow version v0.9.02-2 to be compatible with VPP stable/2410 2025-07-24 15:43:08 +00:00
Daniil Baturin
161f3b53f5
Merge pull request #991 from vyos/T7647
T7647: Bump keepalived version to 2.3.3
2025-07-22 15:57:56 +01:00
Daniil Baturin
011ad5bd2f
Merge pull request #993 from alexandr-san4ez/T7576-current
T7576: Remove unnecessary code for checking dirty build status
2025-07-22 15:47:32 +01:00
KyleM
1155ae7862
VPP: T7175: Added sflow plugin to build (#962) 2025-07-22 15:28:30 +01:00
Oleksandr Kuchmystyi
71ade9dce3
T7576: Remove unnecessary code for checking dirty build status
```
vyos@r15:~$ show version | match dir
Build commit ID:  d8038ded37fadb-dirty
```
Having uncommited files in vyos-build is completely normal:
custom configs, EULA files in official release builds,
anything else that flavor files may include.

However, many people are not familiar with the specific
meaning of "dirty" in git or with the build process and assume
that "dirty" means something went wrong with the image build.
2025-07-22 13:05:38 +03:00
Viacheslav
2d9f5cfdf7 T7647: Bump keepalived version to 2.3.3 2025-07-21 14:49:35 +00:00
sarthurdev
df9312fc72 tpm: T7628: Extend test for non-TPM backed encryption 2025-07-15 16:37:24 +02:00
Christian Breunig
defe8e5b7d
Merge pull request #988 from c-po/kernel-6.6.96
Kernel: T5887: update Linux Kernel to v6.6.96
2025-07-12 07:54:43 +02:00
Christian Breunig
9012ce99a9 Kernel: T5887: update Linux Kernel to v6.6.96 2025-07-11 21:44:32 +02:00
Viacheslav
7807f0d0e8 T7606: Add include and exclude mode for match check-install qemu 2025-07-03 06:05:06 +00:00
Viacheslav
a245f81e06 T7609: Smoketest add huge-page-size and huge-page-count arguments 2025-07-02 16:47:02 +00:00
Viacheslav
1aceb0371c T7606: Split VPP test for smoketest
Exclude VPP tests from the general tests
Add the PHONY no-interfaces-no-vpp
Add the PHONE testcvpp (load VPP config only)
2025-07-02 10:54:59 +00:00
Nataliia Solomko
4b1f3d4610 T7424: Restart vyos-configd after vyos.smoketests.hint file creation 2025-06-30 13:32:03 +03:00
Nataliia Solomko
042e14c6f5 T7424: Create vyos.smoketests.hint file before starting
vyos-configd
2025-06-26 14:06:30 +03:00
Christian Breunig
9dae7e2d36 Kernel: T7539: compile in WWAN drivers and not use loadable modules 2025-06-11 21:45:00 +02:00
Christian Breunig
f92db23cdb Kernel: T7539: add option to only install build dependencies for development 2025-06-11 21:44:22 +02:00
Daniil Baturin
054d4f9d43
Merge pull request #927 from sever-sever/T4409
T4409: Fix Framed-Route with attr Accel-VRF-Name
2025-06-10 15:56:23 +01:00
Daniil Baturin
4726ad65ae
Merge pull request #972 from Gabin-CC/current
build: T7453: Make raw image building logic more robust
2025-06-10 15:46:58 +01:00
Christian Breunig
9182e62abc
Merge pull request #973 from tjjh89017/T7534
T7534: netfilter: add asciidoc-base as build depend
2025-06-10 16:43:55 +02:00
Daniil Baturin
75f72ab901
Remove a stray debug output 2025-06-10 15:43:29 +01:00
Daniil Baturin
7d40712037
Merge pull request #975 from sever-sever/T7530
T7530: Build package binaries script should exit if repo is absent
2025-06-10 15:36:23 +01:00
Date Huang
e862f1c13b T7534: netfilter: add asciidoc-base,bison as build depend
Signed-off-by: Date Huang <tjjh89017@hotmail.com>
2025-06-10 01:12:37 +08:00
Daniil Baturin
faa725ae12
Remove an emoji from an error message 2025-06-09 12:49:06 +01:00
Daniil Baturin
6b33a64184
Remove an emoji from an error message 2025-06-09 12:48:51 +01:00
Viacheslav Hletenko
2ecdb4f464 T7530: Build package binaries script should exit if repo is absent
The build package binaries script should exit if the repo is absent
or cannot be cloned

If a build package `repo-a` depends on the `repo-b` and the `repo-b`
cannot be cloned, then we shoud exit from the script to avoid
partly build dependencies

For example:
```
[[packages]]
name = "fake-repo"
commit_id = "v0.0.1"
scm_url = "https://github.com/vyos/fake-repo"

[[packages]]
name = "ethtool"
commit_id = "debian/1%6.10-1"
scm_url = "https://salsa.debian.org/kernel-team/ethtool"
```

If ethtool depends on some fake-package and this package cannot be
downloaded from the repo, then we shouldn't build the ethtool package
at all.
2025-06-09 09:41:34 +00:00
Date Huang
dc82611f20 T7535: aws-gwlbtun: add cmake for depend
Signed-off-by: Date Huang <tjjh89017@hotmail.com>
2025-06-08 19:41:42 +08:00
Gabin-CC
02c2e30622 T7453: handle dynamic partition mapping in raw image build
Enhanced the raw image creation logic to dynamically detect and assign
EFI and root partitions based on the number of partitions created by kpartx.

- Supports both 2-partition and 3-partition layouts
- Adds debug output for mapped partitions
- Avoids hardcoded assumptions about partition order
- Improves resilience in cloud-init and containerized build contexts

Fixes build failure when /dev/loopXp3 is missing or not mapped properly.

Signed-off-by: Gabin-CC <gabin.laurent@rte-international.com>
2025-06-06 20:59:22 +02:00
Gabin-CC
1cda2d42bb T7453: Enhance raw/qcow2 image creation
Description
This pull request introduces improvements to the raw_image.py script responsible for building raw disk images in the VyOS build process.

Main Changes
Added use of kpartx to reliably map EFI and root partitions from the loop device.
Introduced disk_details as an attribute on the BuildContext object to pass partition metadata through the image build steps.
Improved the __exit__ method for BuildContext to unmount all mount points and clean up kpartx mappings and loop devices, even in failure cases.
Fixed a crash in mount_image() when con.disk_details was not set.
Added useful debug logs for loop device usage and partition mapping.
Motivation
The previous implementation assumed partitions like /dev/loopXp3 would appear automatically, which is unreliable across some environments (especially containers or newer systems).

This PR makes the process more reliable by explicitly mapping partitions with kpartx, a tool designed for this purpose.

It also ensures proper resource cleanup by unmounting and detaching everything cleanly, preventing leaked loop devices or stale mount points.

Test Instructions

Flavor : cloud-init.toml
packages = [
  "cloud-init",
  "qemu-guest-agent"
]

image_format = ["qcow2"]
disk_size = 10

[boot_settings]
console_type = "ttyS0"

Run:

sudo ./build-vyos-image --architecture amd64 \
  --build-by "you@example.com" \
  --reuse-iso vyos-1.5-rolling-*.iso \
  cloud-init
Expected behavior:

The build completes without errors.
The .qcow2 image file is generated and bootable (e.g., in KVM or Proxmox).
Partitions are mounted correctly via /dev/mapper/loopXp*.

Signed-off-by: Gabin-CC <gabin.laurent@rte-international.com>
2025-06-06 20:58:04 +02:00
Christian Breunig
5871203be6 Kernel: T7428: re-enable CONFIG_INOTIFY_STACKFS
Kernel compile time option for our custom patch to enable inotify
on stackable filesystems accidently got removed in commit cfdd4451ca3aa
("Kernel: T7428: remove io_uring support").

Option was re-enabled.
2025-05-30 19:05:05 +02:00
Yevhen Bondarenko
fe8ea308a6
Merge pull request #967 from dmbaturin/T7490-broadcast-relay-build
packages: T7490: add build files for udp-broadcast-relay
2025-05-28 12:11:12 +02:00
Daniil Baturin
c51513fb5c packages: T7490: add build files for udp-broadcast-relay 2025-05-28 10:50:04 +01:00
Viacheslav Hletenko
6fa46e8668 T7494: FRR add build dependency flex libelf-dev 2025-05-28 09:32:24 +00:00
Viacheslav Hletenko
3b44daa55f T7494: FRR add missing build bison and liblua dependencies 2025-05-28 06:54:30 +00:00
John Estabrook
45c21a06ea T7352: add test script arg for testing under vyconfd/commitd 2025-05-22 13:24:32 -05:00
Christian Breunig
1545aa4b76 Kernel: T7253: build linux-perf-$version package
Previous patch was removed during VyOS 1.3 -> 1.4 development cycle as the
internal handling for Kernel package generation changed.

This brings back the perf binary in a new linux-perf-$KERNELVERSION
Debian package.
2025-05-12 20:45:52 +02:00
Christian Breunig
73df823da1 Docker: T7253: remove Kernel build dependencies to shrink container image
Move the Kernel build dependencies to package.toml to unbload the build
container even more.
2025-05-12 20:45:52 +02:00
Christian Breunig
63f3ae10b0 Kernel: T5887: update Linux Kernel to v6.6.90 2025-05-12 18:14:32 +02:00
Viacheslav Hletenko
247e810339
Merge pull request #955 from tjjh89017/arm64_kernel
T7406: add virtio-gpu and pl011 console support for arm64
2025-05-06 17:31:06 +03:00
Christian Breunig
cfdd4451ca Kernel: T7428: remove io_uring support
Given the recent chatter about io_uring and it flaws - e.g. [1] - and we have
to my knowledge no use for it we should remove it from the Kernel configuration.

Every feature not used and removed from the Kernel is a good one.

1: https://www.armosec.io/blog/io_uring-rootkit-bypasses-linux-security/
2025-05-04 23:44:41 +02:00
Daniil Baturin
65f3b103a5
Merge pull request #957 from dmbaturin/T7409-no-md5
build: T7409: do not include MD5 checksums in the ISO image
2025-04-29 15:23:12 +01:00
Daniil Baturin
64ff1e538d build: T7409: do not include MD5 checksums in the ISO image 2025-04-28 18:27:58 +01:00
Date Huang
217aa7ae4f T7406: add virtio-gpu and pl011 console support for arm64
Signed-off-by: Date Huang <tjjh89017@hotmail.com>
2025-04-28 21:42:53 +08:00