13 Commits

Author SHA1 Message Date
Daniil Baturin
faa725ae12
Remove an emoji from an error message 2025-06-09 12:49:06 +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
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
282ca5b308 Kernel: T6230: add ipt_NETFLOW out-of-tree module 2025-03-11 16:37:27 +01:00
Christian Breunig
2c61c15656 Intel: T6847: provide common build script for Out-Of-Tree drivers
Use one build script to rule all the Intel Git based drivers.
2025-02-19 16:21:14 +01:00
Christian Breunig
2a2e36ba2e intel: T6847: fix build system to perform proper "git clone" on IXGBE driver
Previous commit a10b29560 ("intel: T6847: update IXGBE Out-Of-Tree driver to
v6.0.5") missed a proper CI "git clone" on the driver repository - this has
been fixed.
2025-02-15 09:21:57 +01:00
Viacheslav Hletenko
50b3d9f80e T6813: Build tarballs for the packages in the linux-kernel dir
Build tarballs for the packages related linux-kernel dir.
2024-11-01 13:50:56 +00:00
Christian Breunig
3a6e1d4455 Kernel: T861: T6713: fix generation of realtek driver signature
We need to sign the module during the Debian build run, before the
binaries are packed into the resulting DEB.
2024-10-12 08:02:23 +02:00
Viacheslav Hletenko
a3b515ca71 T6713: Update Realtek r8152 driver 2024-10-02 11:48:46 +00:00
Viacheslav Hletenko
8879bf0fdf T861: Fix mellanox build by actions 2024-10-01 15:53:10 +00:00
Christian Breunig
d235b31a09 T861: sign all Kernel modules with an ephemeral key
The shim review board (which is the secure boot base loader) recommends using
ephemeral keys when signing the Linux Kernel. This commit enables the Kernel
build system to generate a one-time ephemeral key that is used to:

* sign all build-in Kernel modules
* sign all other out-of-tree Kernel modules

The key lives in /tmp and is destroyed after the build container exits and is
named: "VyOS build time autogenerated kernel key".

In addition the Kernel now uses CONFIG_MODULE_SIG_FORCE. This now makes it
unable to load any Kernel Module to the image that is NOT signed by the
ephemeral key.
2024-09-25 20:24:21 +02:00
Viacheslav Hletenko
9055e9bae1 T6674: build-kernel: Get kernel version from the defatults
Get kernel version from the vyos-build/data/defaults.toml
for buld 'linux-kernel' and related packages
Retrun the original build-jool.py script
2024-09-06 08:15:22 +00:00
Viacheslav Hletenko
cc7d0993b4 T6674: Add build-scrips for packages without Jenkins
Add build scripts for .deb packages without Jenkins.
To exclude Jenkins we need some place where we can put new builds-scripts
to run in parallel (old/new) during meantime
We will deprecate old Jenkins package builds in the future.
2024-08-29 09:30:52 +00:00