582 Commits

Author SHA1 Message Date
Christian Breunig
cf809b7750
T6754: Ignore everyhting under packages folder via .gitignore 2024-10-06 12:50:00 +02:00
Viacheslav Hletenko
2fed892f27 T6754: Delete Jenkins build packages 2024-10-02 08:02:51 +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
Christian Breunig
b2945a4753 Kernel: T5887: disable various unused/not needed debug options 2024-09-22 09:31:31 +02:00
Christian Breunig
9e7dd13f52 ethtool: T6729: upgrade to 6.10 to make use of more --json options
Same as T6078 but we now wan't to make use of ethtool --json eth0 to drop out
own text based parsing of ethtool options in [1]. This is the base for moving
to a better, machine readable interface

1: https://github.com/vyos/vyos-1x/blob/e47d4fd385631236da68/python/vyos/ethtool.py#L77-L105
2024-09-21 09:27:41 +02:00
Christian Breunig
be867edddc
Merge pull request #764 from c-po/secure-boot
Kernel: T861: use find over ls when probing for Kernel signing public keys
2024-09-16 23:37:05 +02:00
Christian Breunig
5aaf98f57c Kernel: T861: use find over ls when probing for Kernel signing public keys 2024-09-16 21:09:41 +02:00
Viacheslav Hletenko
5255ad102a
Merge pull request #763 from c-po/secure-boot
T861: add UEFI Secure Boot support
2024-09-16 12:27:21 +03:00
Christian Breunig
fd737172f1 T861: add UEFI Secure Boot support
This adds support for UEFI Secure Boot. It adds the missing pieces to the Linux
Kernel and enforces module signing. This results in an additional security
layer where untrusted (unsigned) Kernel modules can no longer be loaded into
the live system.

NOTE: This commit will not work unless signing keys are present. Arbitrary
keys can be generated using instructions found in:

  data/live-build-config/includes.chroot/var/lib/shim-signed/mok/README.md
2024-09-14 23:05:23 +02:00
Christian Breunig
beb3df0733 Kernel: T5887: cleanup Debian postinst files after package build 2024-09-14 20:58:44 +02:00
Christian Breunig
e4a2e22ced mellanox: T6231: execute build script with sudo 2024-09-14 20:58:44 +02:00
Christian Breunig
fd7d1d0d20 Kernel: T861: remove superfluous architecture from Kernel string 2024-09-07 21:31:46 +02:00
Nicolas Vollmar
01085c0512 T6703: add support for amd pstate driver 2024-09-06 10:30:11 +02:00
Christian Breunig
70bb3c5baa
Merge pull request #657 from rafaelgaspar/add-thunderbolt-net
linux-kernel: T6485: build modules for thunderbolt and thunderbolt-net
2024-08-26 17:09:21 +02:00
RageLtMan
21c33ff0b8 T6231: update OFED version and fix build script
Push OFED to 24.07-0.6.1.0
Replace bash syntax for conditional check with sh syntax in OFED
build script.
2024-08-24 11:03:26 -04:00
Rafael Antunes
2397042743
linux-kernel: T6485: build modules for thunderbolt and thunderbolt-net 2024-08-20 09:41:12 +02:00
Christian Breunig
faa6453ec8 Kernel: T5887: update Linux Kernel to v6.6.45 2024-08-11 14:46:58 +02:00
Nicolas Vollmar
7508677091 podman: T6635: add missing dependency on golang-github-containers-common
This is required as the dependency will add /etc/containers/policy.json
2024-08-07 07:26:05 +02:00
Christian Breunig
3f84d701fc podman: T6598: add fuse-overlayfs runtime dependency
Dependency already exists in vyos-1x for live-system, but it does not hurt to
also define the dependency here where it's needed by the filesystem layer.
2024-08-04 08:06:20 +02:00
Indrajit Raychaudhuri
df970a14e8 ddclient: T5792: Use Debian build from Trixie
As part of "T5792: Upgrade to ddclient 3.11.2" in commit 368b89ef056,
ddclient was built using build system from Debian Salsa and source code
from upstream GitHub.

This was subsequently modified in commit 7f7030d9281 to use both build
system and source code from Debian Salsa.

Now that Debian finally has ddclient 3.11.2 release, we can use the
release tag to build the package.
2024-07-30 21:00:22 +05:30
Christian Breunig
a7d0c7b854 podman: T6598: add libgpgme11 runtime dependency 2024-07-26 21:08:40 +02:00
Christian Breunig
02379d3dd5
Merge pull request #665 from sempervictus/feature/mellanox_ofed_drivers
T6231: Mellanox OFED
2024-07-25 18:23:00 +02:00
Christian Breunig
f33a22bcf3 mellanox: T6231: we do not need to build all packages, delete all unused ones 2024-07-25 15:34:06 +02:00
Christian Breunig
404fec71d1 mellanox: T6231: add missing KERNEL_SUFFIX for module installation path
All VyOS kernel modules must live in the appropriate module directory,
example: /lib/modules/6.6.41-amd64-vyos/

In addition we do not abbreviate script options to make reading easier,
without call --help all the time.
2024-07-25 15:33:29 +02:00
Christian Breunig
0ce12e4c1a Kernel: T6231: verify mellanox driver source by SHA1 hash 2024-07-25 15:31:26 +02:00
Christian Breunig
9cbc700aee Kernel: T6231: update .gitignore for mellanox drivers 2024-07-25 15:30:57 +02:00
Christian Breunig
84c5d5a3db podman: T6598: add search PATH for Go 2024-07-25 11:08:26 +02:00
Christian Breunig
abe46eca69
Merge pull request #710 from vyos/revert-704-frr-ospfd-ldp-sync
Revert "frr: T6600: apply pending upstream patch for ospfd ldp-sync"
2024-07-24 20:07:21 +02:00
Christian Breunig
dc6a23b37c
Revert "frr: T6600: apply pending upstream patch for ospfd ldp-sync" 2024-07-24 09:26:57 +02:00
Christian Breunig
a9baaaba16 podman: T6598: add custom podman build for version 4.9.5 2024-07-23 08:03:07 +02:00
Christian Breunig
d07b978408
Merge pull request #704 from c-po/frr-ospfd-ldp-sync
frr: T6600: apply pending upstream patch for ospfd ldp-sync
2024-07-22 15:26:07 +02:00
Christian Breunig
bef7b3eda9 frr: T6600: apply pending upstream patch for ospfd ldp-sync 2024-07-21 09:14:50 +02:00
Christian Breunig
2a6e687854 hostapd: T6597: update hostapd version
Using a discrete commit ID as there has not been a release in a longer time.
2024-07-20 09:29:25 +02:00
Christian Breunig
faf191ed85 T6584: Revert "T6293: add Mediatek MT7921 to defconfig"
This reverts commit dbf7e47a27537a9c298afd665244b7bc2b6cf5f6.
2024-07-17 08:47:38 +02:00
Viacheslav Hletenko
824ffc86ab
Merge pull request #694 from c-po/ddclient-build
ddclient: T5797: switch to Debian SALSA repository
2024-07-12 23:25:38 +03:00
Christian Breunig
7f7030d928 ddclient: T5797: switch to Debian SALSA repository
Commit 368b89ef05 ("ddclient: T5797: Upgrade to ddclient 3.11.2") bumped the
ddclient version by using the build system from Debian SALSA repo and the
upstream ddclient source code.

Debian now provides the same version from the SALSA repos.
2024-07-12 21:20:51 +02:00
Christian Breunig
6b1b3e388e Kernel: T5887: update linux-firmware to 20240610 2024-07-06 09:47:29 +02:00
Christian Breunig
56bc5a517c snmp: T6290: add custom package build 2024-07-04 12:50:50 +02:00
Christian Breunig
dd322145be Kernel: T5887: update Linux Kernel to v6.6.36 2024-07-02 21:46:01 +02:00
RageLtMan
c0365df3ca T6231: Mellanox OFED Kernel and Userspace Packages
Build OFED drivers and userspace components against the kernel
source tree similar to Intel's NIC drivers.

OFED installers create Debian packages of their own tageting the
kernel version defined in the build invocation if DKMS is omitted.
Script builds with supporting components for VPP to permit handoff
of function to the underlying hardware as appropriate. Updating the
version is fairly trivial along with adding patching as needed to
handle kCFI and hardening measures as they are introduced.

Testing:
  Tested against GCC-built Linux Hardened kernel with the various
additions from PR 132 - sustained line-rate testing against 4x100g
links on a single machine at a hair below 200g for each LACP pair.
2024-06-21 22:45:12 -04:00
Christian Breunig
41771586bd Kernel: T5887: update Linux Kernel to v6.6.34 2024-06-17 20:07:32 +02:00
zsdc
32d4ae399d waagent: T6475: Disabled waagent build for ARM64
ARM64 build is not necessary, because waagent has one build for all platforms.
2024-06-14 14:16:17 +03:00
zsdc
9bfcba889b waagent: T6475: Fixed waagent build script permissions
Added execution permissions to a build script.
2024-06-13 15:55:59 +03:00
zsdc
f3a31a338a waagent: T6475: Added waagent build instructions
We need a version newer than in the Debian repository.

This commit adds instructions to build a version from sid.
2024-06-12 19:45:34 +03:00
Nicolas Vollmar
707c073f7c T6406: enables CONFIG_CFS_BANDWIDTH for cpu cgroup limits 2024-05-27 16:32:28 +02:00
Nicolas Vollmar
b809886538
Kernel: T6406: enables CONFIG_CGROUP_CPUACCT 2024-05-27 13:22:51 +02:00
zsdc
db1bdb656b kernel: T6395: Enabled VFIO_NOIOMMU support
VFIO No-IOMMU support is required for environments where IOMMU is not available
but we still want to use VFIO.
2024-05-24 20:38:14 +03:00
Christian Breunig
fffe00805b
Merge pull request #631 from c-po/frr-revert-local-patches
frr: T6250: T6283: revert local patches merged upstream
2024-05-19 08:26:58 +02:00
Christian Breunig
e7fad572ba Revert "frr: T6283: add pending upstream patch"
This reverts commit 1b61973b9143aa8a04cc7c857ec567fa962e4e43.

Upstream Patch merged
2024-05-19 08:25:00 +02:00
Christian Breunig
2d6b51e13a Revert "frr: T6250: add pending upstream patch"
This reverts commit 38cae97177191ad6876a4ce7afb4f53b21bf746c.

Upstream patch merged
2024-05-19 08:24:40 +02:00