Compare commits

..

420 Commits

Author SHA1 Message Date
Daniil Baturin
d5f3d5002f
Merge pull request #461 from c-po/t3318-kernel-5.4.261
Kernel: T3318: update Linux Kernel to v5.4.261
2023-11-25 09:35:10 +00:00
Christian Breunig
e419de9785 Kernel: T3318: update Linux Kernel to v5.4.261 2023-11-24 11:47:24 +01:00
Christian Breunig
e526ec20c5
Merge pull request #458 from aapostoliuk/T5402-equuleus
keepalived: T5402: Added patch with arp_ignore to 1 on IPv6 VMACs
2023-11-23 20:24:21 +01:00
aapostoliuk
fd886320f8 keepalived: T5402: Added patch with arp_ignore to 1 on IPv6 VMACs
Added patch with commit '9ca8688' to keepalived package.
Setting arp_ignore to 1 ensures that the VMAC interface
does not respond to ARP requests for IPv4 addresses not
configured on the VMAC.
Backported from 1.5.
2023-11-23 13:27:11 +02:00
Christian Breunig
7b385117de
Merge pull request #440 from aapostoliuk/T5684-equuleus
systemd: T5684: Incrised DefaultLimitMEMLOCK to 8M
2023-10-25 20:39:52 +02:00
aapostoliuk
0d837d85c5 systemd: T5684: Incrised DefaultLimitMEMLOCK to 8M
This fix increases DefaultLimitMEMLOCK from 64K to 8M.
Some services cannot run, when memlock eq 64K
This bug was fixed in the next kernel release
9dcc38e281
2023-10-25 17:33:47 +03:00
Daniil Baturin
0dc534f9d9
Merge pull request #437 from c-po/equuleus
systemd: T5354: always disable sshguard.service
2023-10-18 21:47:52 +01:00
Christian Breunig
714be49620 systemd: T5354: always disable sshguard.service 2023-10-18 07:37:29 +02:00
Daniil Baturin
986c77ac08
Merge pull request #431 from dmbaturin/T5624-delete-debian-version
T5624: add a hook for deleting /etc/debian_version
2023-09-29 15:16:04 +01:00
Daniil Baturin
c13949a63e T5624: add a hook for deleting /etc/debian_version 2023-09-29 14:59:46 +01:00
Christian Breunig
108255f13c
Merge pull request #422 from c-po/equuleus
Revert "openvpn: T5272: upgrade package to Debian version 2.6.3-2"
2023-09-26 06:29:46 +02:00
Christian Breunig
bda63d4ac2 Revert "openvpn: T5272: upgrade package to Debian version 2.6.3-2"
This reverts commit 6383f8ae2716635d87c685df764aabcc608381e3.
2023-09-25 20:08:23 +02:00
Christian Breunig
ef9062c458
Merge pull request #399 from c-po/equuleus
Revert "frr: T5557: use treat-as-withdraw for tunnel encapsulation attribute CVE-2023-38802"
2023-09-10 20:35:21 +02:00
Christian Breunig
23dad9a777 Revert "frr: T5557: use treat-as-withdraw for tunnel encapsulation attribute CVE-2023-38802"
This reverts commit 13a5fa10d8c8632d08cf48a445c7d5925d3d42c4.

Patch merged upstream
2023-09-10 18:46:06 +02:00
Daniil Baturin
46f5655f47
Merge pull request #398 from c-po/equuleus
frr: T5557: use treat-as-withdraw for tunnel encapsulation attribute CVE-2023-38802
2023-09-10 15:15:08 +01:00
Christian Breunig
13a5fa10d8 frr: T5557: use treat-as-withdraw for tunnel encapsulation attribute CVE-2023-38802
Before this path we used session reset method, which is discouraged by rfc7606.
Handle this as rfc requires.

This addes the fix submitted as https://github.com/FRRouting/frr/pull/14381
upstream. Using VyOS patch until the above mentioned PR is merged.
2023-09-10 16:09:50 +02:00
Daniil Baturin
6e463ebc5a
Merge pull request #393 from sever-sever/T5524-eq
T5524: Add config directory for livecd
2023-09-05 11:21:31 +01:00
Viacheslav Hletenko
3efe30b236 T5524: Add config directory for livecd
Add the '/config' directory for live image boot
One of the reasons the DHCP-server uses lease from this directory T2958

(cherry picked from commit cb330a797ef8c56d68220afc44798bcf8f2e0a47)
2023-09-05 06:38:46 +00:00
Christian Breunig
4abb3f3be9 Kernel: T5186: T3318: fix QAT build system matching new file name schema 2023-08-31 08:16:23 +02:00
Christian Breunig
a5cac5b1bd Kernel: T3318: update Linux Kernel to v5.4.255 2023-08-31 08:01:54 +02:00
Christian Breunig
4db7aab54d Kernel: T5186: T3318: undefine NEED_ETH_HW_ADDR_SET for Intel ICE driver 2023-08-31 08:01:48 +02:00
Christian Breunig
0f189caa9d Kernel: T5186: T3318: update QAT URL 2023-08-31 08:01:43 +02:00
Christian Breunig
9055e67889
Merge pull request #384 from zdc/T5187-equuleus
build: T5187: Fixed Realtek r8152 compatibility with 5.4 kernels
2023-08-30 18:12:00 +02:00
zsdc
0073533968 build: T5187: Fixed Realtek r8152 compatibility with 5.4 kernels
There is no need to define `eth_hw_addr_set()` in sources anymore because it is
already backported into the 5.4.254 kernel:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/include/linux/etherdevice.h?h=v5.4.254&id=24f34f67be24674c5c3ef922de70ab95a0d7ce16
2023-08-30 16:15:31 +03:00
Daniil Baturin
53131ce567
Merge pull request #380 from c-po/equuleus
Equuleus Updates
2023-08-24 16:05:06 +01:00
Christian Breunig
2cb9470089
Merge pull request #368 from cuongdt1994/backport
Kernel: T5310: add stmicro driver support (Equuleus)
2023-08-24 16:21:41 +02:00
Christian Breunig
9e7e8eadde Kernel: T5186: T3318: update Linux Kernel to v5.4.254 2023-08-24 16:19:38 +02:00
Apachez
eaed7095f2 T5468: Remove unused manpages to free up space
(cherry picked from commit f9946312dfdfb8163995cf7ddd0efb1e485fc977)
2023-08-24 16:18:49 +02:00
cuongdt1994
4cc02e6e2f Kernel: T5310: add stmicro driver support
I added also additional expansion card with 2 Intel i211 NIC’s.

I want to utilize all 4 NIC’s, but I have an issue because only NIC on expansion cards are properly detected.
2023-06-27 11:53:44 +07:00
Christian Breunig
42535513ff
openvpn: T5272: fix buildPackage signature
There is no option to build arm64 packages in equuleus
2023-06-26 21:18:53 +02:00
Christian Breunig
a8edbbeeef
Merge pull request #358 from c-po/t5272-openvpn-update
openvpn: T5272: upgrade package to Debian version 2.6.3-2 (equuleus)
2023-06-25 22:30:35 +02:00
Christian Breunig
47847fdf06
Merge pull request #351 from c-po/equuleus
Kernel: T5186: T3318: update Linux Kernel to v5.4.243
2023-06-24 16:27:47 +02:00
Christian Breunig
3351c169cf
Merge pull request #359 from cuongdt1994/equuleus
T5280: Update Expired keys (2023-06-08) for PowerDNS
2023-06-11 17:51:30 +02:00
cuongdt1994
2665b46709 T5280: Update Expired keys (2023-06-08) for PowerDNS
Packages in the versioned repositories are signed with PGP key-id 0xFD380FBB
2023-06-11 03:45:20 +07:00
Christian Breunig
6383f8ae27 openvpn: T5272: upgrade package to Debian version 2.6.3-2 2023-06-08 21:32:41 +02:00
Christian Breunig
7dc14608ef Kernel: T5186: T3318: update Linux Kernel to v5.4.243 2023-06-08 21:28:51 +02:00
Viacheslav Hletenko
bc64a3a722
Merge pull request #353 from zdc/T4737-equuleus
frr: T4737: Replaced patch for connected routes processing
2023-05-24 21:21:55 +03:00
zsdc
0c56ce9671 frr: T4737: Replaced patch for connected routes processing
An old patch breaks connected routes in a situation when more than one IP
address is presented on an interface and it switches state from down to up:

```
ip link set eth0 down
ip a add 192.0.2.50/24 dev eth0
ip a add 192.0.2.51/24 dev eth0
ip link set eth0 up
```

A new version includes more backports from frr upstream, which work well
regardless of an interface state.
2023-05-24 20:58:04 +03:00
Daniil Baturin
9b60bf0a5f
Merge pull request #350 from zdc/T5221-equuleus
FRR: Fixed BGP as-override behavior
2023-05-12 13:38:38 +01:00
zsdc
f0cf9ac8a9 FRR: T5221: Fixed BGP as-override behavior
Override peer's ASN even if original as-path contains other ASNs

This is a backport of 9bbdb4572d3bb255211fecf1c756452ab27e91c2 from
the main FRR repository
2023-05-12 14:24:49 +03:00
Christian Breunig
3ba073d0e1
Kernel: T5186: revert to 5.4.234 due to QoS issues 2023-05-11 18:53:25 +02:00
Christian Breunig
cc62b93ef9 T5186: Revert "Kernel: T3318: update Linux Kernel to v5.4.240"
This reverts commit e873e9385cb3a9ed94d7d5cf1c967aaec9b4f504.

Newer kernel versions break QoS b/c of incompatible tc change.
2023-05-10 18:37:26 +02:00
Daniil Baturin
8e5e747687
Merge pull request #343 from zdc/T5187-equuleus
r8152: T5187: Updated Realtek r8152 driver
2023-04-27 16:06:33 +01:00
zsdc
56c5dfe8c6 r8152: T5187: Updated Realtek r8152 driver
The Realtek r8152 driver is updated to 2.16.3
2023-04-27 17:19:12 +03:00
Daniil Baturin
97ed73bf35
Merge pull request #341 from zdc/T5182-equuleus
ice: T5182: Included Intel ICE driver to the system
2023-04-26 14:26:12 +01:00
zsdc
beb077829b ice: T5182: Included Intel ICE driver to the system
Intel ICE driver for E810 Ethernet Controllers is included in the
list of requirements for images and initramfs.
2023-04-26 13:44:48 +03:00
Christian Breunig
012a23fbaa
Merge pull request #340 from zdc/T5182-equuleus
ice: T5182: added build task for Intel ICE driver
2023-04-26 09:00:36 +02:00
zsdc
8f78333e6d ice: T5182: added build for Intel ICE driver
This commit adds a build task for an out-of-tree Intel ICE driver
for E810 Ethernet Controllers.
2023-04-26 01:49:54 +03:00
Christian Breunig
bd9b3b3f6e
Merge pull request #339 from zdc/T5180-equuleus
initramfs-tools: T5180: Updated initramfs tools to v0.140
2023-04-25 23:04:28 +02:00
zsdc
93663b974f initramfs-tools: T5180: Updated initramfs tools to v0.140
The new version contains important changes in firmware path selection.
This is required for proper driver integrations.
2023-04-25 22:39:09 +03:00
Christian Breunig
e873e9385c
Kernel: T3318: update Linux Kernel to v5.4.240 2023-04-12 21:18:44 +02:00
Christian Breunig
42cabbe839
Merge pull request #330 from c-po/equuleus
T425: add amazon-cloudwatch-agent to AWS image (equuleus)
2023-04-02 16:30:18 +02:00
Christian Breunig
bafb293ccb
Kernel: T3318: update Linux Kernel to v5.4.239 2023-04-01 15:55:37 +02:00
Christian Breunig
8980a52045 T425: add amazon-cloudwatch-agent to AWS image 2023-03-31 13:31:32 +02:00
Christian Breunig
c46bdae0a6
Merge pull request #323 from c-po/equuleus
systemd: T5111: always disable pppd-dns.service
2023-03-29 21:39:47 +02:00
Christian Breunig
d961dd7e1f systemd: T5111: always disable pppd-dns.service
An update to the Debian ppp package remove the needed
/etc/ppp/ip-down.d/0000usepeerdns file. As DNS resolution is handled by
vyos-hostsd we can disable this service entirely.
2023-03-25 11:18:11 +01:00
Daniil Baturin
3ffe9a2689
Merge pull request #318 from c-po/t4625-ocserv-update
Docker: T4625: add missing build dependencies
2023-03-02 16:13:31 +00:00
Christian Breunig
253a3c4416 Docker: T4625: add missing build dependencies
Commit 317ffe1 ("T4625: Update ocserv packet to 1.1.6-3") updated the version
used for ocserv on VyOS 1.3. This commit adds the missing dependencies
for the Docker container in order to build the ocserv packages.
2023-03-02 17:08:56 +01:00
Christian Breunig
1dedfa4414
Merge pull request #317 from c-po/equuleus-updates
T3318: T5003: Docker and Kernel updates for equuleus
2023-03-02 06:54:41 +01:00
Christian Poessinger
39035427cf Kernel: T3318: update Linux Kernel to v5.4.233 2023-03-01 22:24:39 +01:00
Christian Poessinger
06a908594f T5003: backport changes from master to support latest Docker version on CI hosts
The newer Docker versions seem to be a bit more picky when using tools
like goso. The container will no longer start if the gosu binary has the setuid
root bit set.

This change adjusts the container to continue working on recent Docker
versions.
2023-03-01 22:22:35 +01:00
Christian Breunig
598e9f5821
Merge pull request #316 from sever-sever/T4625
T4625: Update ocserv packet to 1.1.6-3
2023-02-28 18:53:14 +01:00
Viacheslav Hletenko
317ffe13ad T4625: Update ocserv packet to 1.1.6-3 2023-02-28 17:32:03 +00:00
Christian Breunig
c4521c495a
Merge pull request #305 from c-po/equuleus
T5001: Replace links to the phabricator site
2023-02-12 21:31:38 +01:00
Christian Breunig
f810d032e1 T5001: Replace links to the phabricator site
Replace links to the phabricator site from https://phabricator.vyos.net to
https://vyos.dev

(cherry picked from commit 82f35fd474400429cc73cc93386f2a21afd9aaf8)
2023-02-12 21:15:02 +01:00
Daniil Baturin
3da60940f8
Merge pull request #303 from jestabro/equuleus-pin-pcre-no-jit
Docker: T4970: pin OCaml pcre package to avoid JIT support
2023-02-01 00:25:40 +00:00
John Estabrook
08fe12d735 Docker: T4970: pin OCaml pcre package to avoid JIT support
(cherry picked from commit c26f9f9309d3dad0fb344a4691a97a00d39a4b28)
2023-01-31 15:20:55 -06:00
Christian Breunig
ff075708b1
Merge pull request #300 from zdc/T4737-equuleus
frr: T4737: Fixed connected to BGP routes redistribution
2023-01-31 21:19:12 +01:00
zsdc
468e235ef4 frr: T4737: Fixed connected to BGP routes redistribution
This is backported commit for FRR 7.5.1
9298056138
2023-01-31 18:48:06 +02:00
Christian Breunig
f92d9f1ce9
Merge pull request #265 from initramfs/equuleus-kitty-terminfo
backport: vyos-utils: T4683: add kitty-terminfo package to build
2023-01-23 08:16:09 +01:00
Christian Breunig
a62f74c6db
Merge pull request #295 from c-po/t4875-backport
Docker: T4798: add OCaml package fileutils (equuleus)
2023-01-22 18:53:16 +01:00
Christian Breunig
f2c5772665 GitHub: update PullRequest template
(cherry picked from commit ac73adf9c19b4ec5831a0989f34faa25def17d58)
2023-01-21 20:03:23 +01:00
John Estabrook
e7d2f63d45 Docker: T4798: add OCaml package fileutils
The package fileutils is required for the file path validator.

(cherry picked from commit 55758811bc6f06fa579f502b4a4705e37281e359)
2023-01-21 19:50:36 +01:00
Christian Breunig
d1516da228
Merge pull request #294 from vyos/t3319-kernel-5-4-229
Kernel: T3318: update Linux Kernel to v5.4.229
2023-01-19 08:42:41 +01:00
Christian Breunig
c67f744584
Kernel: T3318: update Linux Kernel to v5.4.229 2023-01-18 20:42:57 +01:00
Christian Poessinger
9a3a577b93
Merge pull request #291 from c-po/equuleus
container: T578: backport podman from 1.4 development branch (equuleus)
2022-12-31 07:35:45 +01:00
Christian Poessinger
e66c8b6caf container: T578: backport podman from 1.4 development branch 2022-12-30 22:20:32 +01:00
Christian Poessinger
b65ee74f8b Docker: remove unnecessary sudo calls 2022-12-30 22:20:10 +01:00
Christian Poessinger
6150c425a1
Merge pull request #290 from vyos/t4511-pdns-update
pdns: T4511: upgrade to version 4.8
2022-12-25 22:57:48 +01:00
Christian Poessinger
b9577dc2e8
pdns: T4511: upgrade to version 4.8
Package upgrade to solve IPv6 static-host-mapping issue
2022-12-25 08:49:54 +01:00
Viacheslav Hletenko
5b6a981ce5
Merge pull request #289 from c-po/equuleus
GitHub: sync to author assign workflow changed from current
2022-12-17 18:01:14 +02:00
Christian Poessinger
c47a1ff8c4 Kernel: T3318: update Linux Kernel to v5.4.227 2022-12-17 11:31:51 +01:00
Christian Poessinger
01e5aac2af GitHub: sync to author assign workflow changed from current
Use the vyos/reviewers team instead of individuals.
2022-12-17 11:31:12 +01:00
Christian Poessinger
1283b74e4c
Merge pull request #263 from initramfs/equuleus-firmware-whence
backport: firmware: T4671: create missing symlinks defined in WHENCE file
2022-12-11 21:10:08 +01:00
Christian Poessinger
be55c073a5
Merge pull request #283 from vyos/t3318-kernel-update
Kernel: T3318: update Linux Kernel to v5.4.224
2022-11-16 19:39:36 +01:00
Christian Poessinger
2eb580be29
Kernel: T3318: update Linux Kernel to v5.4.224 2022-11-11 17:40:41 +01:00
Christian Poessinger
d449420026
Merge pull request #269 from vyos/t3318-kernel-5.4.218
Kernel: T3318: update Linux Kernel to v5.4.218
2022-10-17 08:17:54 +02:00
Christian Poessinger
8fa66c3591
Kernel: T3318: update Linux Kernel to v5.4.218 2022-10-16 09:22:32 +02:00
Daniil Baturin
12297ec90c
Merge pull request #266 from vyos/c-po-patch-1
Kernel: T3318: update Linux Kernel to v5.4.215
2022-10-03 12:45:35 +01:00
Daniil Baturin
3d5749f42b
Merge pull request #261 from c-po/equuleus
T4652: upgrade PowerDNS recursor to 4.7 series
2022-10-03 12:45:21 +01:00
Christian Poessinger
ab0e9681b5
Kernel: T3318: update Linux Kernel to v5.4.215 2022-10-03 12:53:13 +02:00
Christian Poessinger
8cddce0cad Docker: T2913: fix fpm package installation during container assembly
Error installing fpm:
The last version of public_suffix (< 6.0, >= 2.0.2) to support your Ruby &
RubyGems was 4.0.7. Try installing it with `gem install public_suffix -v 4.0.7`
and then running the current command again public_suffix requires Ruby version
>= 2.6. The current ruby version is 2.5.0.
2022-09-13 21:44:49 +02:00
initramfs
313af6bb37
vyos-utils: T4683: add kitty-terminfo package
(cherry picked from commit 4c550889f44c5576ea23fb199082dd665f385685)
2022-09-09 18:21:55 +08:00
initramfs
07010d38ad
firmware: T4671: create missing symlinks defined in WHENCE file
(cherry picked from commit 3d983cb2feeb536a5cb23d22228d0ce6ee4d7ccc)
2022-09-06 20:01:04 +08:00
Christian Poessinger
47e4a2eea1 T4652: upgrade PowerDNS recursor to 4.7 series 2022-09-05 19:58:18 +02:00
Christian Poessinger
7ce8651188
Merge pull request #260 from c-po/equuleus
T4666: hostap: Reintroduce Debian's allow-tlsv1.patch
2022-09-04 08:19:27 +02:00
Andrew Gunnerson
50a88a508a T4666: hostap: Reintroduce Debian's allow-tlsv1.patch
After the fixes for T4537/T4584, which added a custom hostap package,
wpa_supplicant no longer allows TLSv1.0 connections, which is required
for EAP-TLS with certain ISPs.

Previously, VyOS allowed TLSv1.0 via Debian's `allow-tlsv1.patch` patch.
This commit reintroduces that patch for the custom hostap package.

Signed-off-by: Andrew Gunnerson <chillermillerlong@hotmail.com>
(cherry picked from commit 54a2f0aa704db96707c8545b81b180934b5f8b9c)
2022-09-03 20:39:23 +02:00
Daniil Baturin
a16db434a7
Merge pull request #258 from c-po/equuleus
Kernel: T4647: enable GVE (Google Virtual NIC)
2022-08-26 11:12:57 +01:00
Christian Poessinger
92772bf850 Kernel: T4647: enable GVE (Google Virtual NIC)
(cherry picked from commit 94e844f44b76069b0897c2c7c5968853b4b1a368)
2022-08-25 19:13:09 +02:00
Christian Poessinger
e018b126fd
Merge pull request #254 from vyos/equuleus-kernel-update-5-4-210
Kernel: T3318: update Linux Kernel to v5.4.210
2022-08-15 19:44:02 +02:00
Christian Poessinger
d7125c5a53
Merge pull request #255 from c-po/equuleus
MACsec: T4537: add custom build for hostap package
2022-08-15 19:01:39 +02:00
Christian Poessinger
39958cb82f hostap: T4584: add git version to Debian package
(cherry picked from commit 8443b98f54c9c8e2a936301b9dbcdcd96c4d543e)
2022-08-15 17:47:10 +02:00
Christian Poessinger
6bcb173cf7 hostap: T4584: add custom package build
(cherry picked from commit e008ba7de3428e3d7d1bd00d656da3946bf006c7)
2022-08-15 17:47:07 +02:00
Christian Poessinger
05f528ef42
Kernel: T3318: update Linux Kernel to v5.4.210 2022-08-11 19:14:14 +02:00
Christian Poessinger
a468d072b9 Docker: hostap: T4584: add requirements for custom package build
(cherry picked from commit 3e42b642e16eac4e681b0ed70ec694582041333b)
2022-08-06 07:39:34 +02:00
Christian Poessinger
ef2d77a9e0
Merge pull request #252 from vyos/c-po-patch-1
Kernel: T3318: update Linux Kernel to v5.4.208 & drop influxdata repository (equuleus)
2022-07-31 14:46:49 +02:00
Christian Poessinger
e7a2b38e3f telegraf: T4515: select proper Pipeline library branch 2022-07-31 09:26:28 +02:00
Christian Poessinger
65c32f9128 telegraf: T4515: remove references to influxdata repository 2022-07-31 09:25:39 +02:00
Christian Poessinger
a3a5f2ead5 Kernel: T3318: update Linux Kernel to v5.4.208 2022-07-31 09:25:39 +02:00
Christian Poessinger
af0d6073fb
Merge pull request #251 from c-po/t4515-equuleus
T4515: Reduce telegraf binary size (equuleus)
2022-07-31 07:55:39 +02:00
Christian Poessinger
84a1957fb1 telegraf: T4515: add custom build 2022-07-30 20:33:05 +02:00
zsdc
dc420a24d1 Go: T4472: Updated Go version to 1.18.3
* removed `golang-github-osrg-gobgp-dev` dependency from fastnetmon. It can be
  built without it
* Replaced Go from the Debian repository (1.15) to a version from the Go
  website (1.18.3)

(cherry picked from commit a6efbe1b628d82eb5dd55b0746cf9278a1f9a1c1)
2022-07-30 20:31:55 +02:00
Daniil Baturin
3154e51227
Merge pull request #249 from vyos/t3318-equuleus-kernel-update-2
Kernel: T3318: update Linux Kernel to v5.4.205
2022-07-15 13:50:43 +01:00
Christian Poessinger
82a650872c Kernel: T3318: update Linux Kernel to v5.4.205 2022-07-15 07:07:37 +02:00
Daniil Baturin
40e8ea1c44
Merge pull request #235 from andriiandrieiev/equuleus
Jenkins: builld dsc packages beside amd64 binaries
2022-07-07 15:30:03 +01:00
Daniil Baturin
fa81861cfd
Merge pull request #247 from jestabro/tree-root-name-commit-ref
T4491: update commit ref for vyos1x-config
2022-07-01 21:09:37 +01:00
John Estabrook
20d4f37c60 T4491: update commit ref for vyos1x-config 2022-07-01 12:49:20 -05:00
Christian Poessinger
71dc68c998
Merge pull request #244 from vyos/t3318-kernel-equuleus
Kernel: T3318: update Linux Kernel to v5.4.200
2022-06-24 19:24:04 +02:00
Christian Poessinger
93e355192a
Kernel: T3318: update Linux Kernel to v5.4.200 2022-06-23 21:01:02 +02:00
Daniil Baturin
b03bec090e
Merge pull request #241 from vyos/t3318-kernel-update-equuleus
Kernel: T3318: update Linux Kernel to v5.4.197
2022-06-12 10:32:20 +03:00
Christian Poessinger
a41dadf218
Kernel: T3318: update Linux Kernel to v5.4.197 2022-06-09 19:04:51 +02:00
Daniil Baturin
ec82d1fffe
Merge pull request #237 from vyos/t3318-equuleus-kernel-update
Kernel: T3318: update Linux Kernel to v5.4.195
2022-05-22 09:05:17 +03:00
Christian Poessinger
ab8503a8ca
Kernel: T3318: update Linux Kernel to v5.4.195 2022-05-21 20:32:22 +02:00
Christian Poessinger
80dff86d95
Merge pull request #231 from zdc/T4415-equuleus
doc: T4415: Added back copyrights for components
2022-05-05 20:12:51 +02:00
Christian Poessinger
de4eaa65f7
Merge pull request #222 from c-po/equuleus-cleanup
keepalived: T4128: remove buster-backports APT pinning
2022-05-05 19:06:48 +02:00
Andrii
486c23fc3d Jenkins: builld dsc packages beside amd64 binaries 2022-05-05 19:07:53 +03:00
zsdc
b0ee2b1c59 doc: T4415: Added back copyrights for components
Copyright information must not be deleted with the rest documentation
files.
2022-05-05 16:15:26 +03:00
Christian Poessinger
72b8d50140
Merge pull request #229 from vyos/equuleus-kernel-update
Kernel: T3318: update Linux Kernel to v5.4.191
2022-04-28 07:38:26 +02:00
Christian Poessinger
c29d461de0
Kernel: T3318: update Linux Kernel to v5.4.191 2022-04-27 21:49:21 +02:00
Christian Poessinger
aca7f0b137
Merge pull request #228 from jestabro/equuleus-config-diff
T4235: update commit refs for vyos1x-config, libvyosconfig
2022-04-26 11:26:46 +02:00
John Estabrook
6993e9e0a4 T4235: update commit refs for vyos1x-config, libvyosconfig 2022-04-25 13:34:03 -05:00
Daniil Baturin
f9319421e5
Merge pull request #223 from vyos/t3318-kernel-upgrade
Kernel: T3318: update Linux Kernel to v5.4.188
2022-04-08 17:45:58 +03:00
Christian Poessinger
e804c367d8
Kernel: T3318: update Linux Kernel to v5.4.188 2022-03-31 20:23:37 +02:00
Christian Poessinger
44677c110b keepalived: T4128: remove buster-backports APT pinning
Commit 5226a4a ("keepalived: T4128: build package from upstream source") added
the required files to build the keepalived package from source. The resulting
binary DEB is thus located inside the VyOS repositories - this makes APT
pinning from Debian Buster Backport repository superfluous.

Buster Backports ship keepalived 2.1.5 - we require at least 2.2.4-227-g8af889bc
for VRF support.
2022-03-31 19:56:08 +02:00
Christian Poessinger
bfd58ad202
Kernel: T3318: update Linux Kernel to v5.4.187 2022-03-23 10:19:34 +01:00
Christian Poessinger
1e345f8ab2
Merge pull request #213 from c-po/equuleus-numa
Kernel: T3489: re-enable NUMA in kernel build
2022-03-23 10:17:11 +01:00
Christian Poessinger
1c96b450e5
Kernel: T3318: update Linux Kernel to v5.4.186 2022-03-20 16:57:31 +01:00
Christian Poessinger
b381eb2b7a
Kernel: T3318: update Linux Kernel to v5.4.185 2022-03-17 21:01:41 +01:00
Christian Poessinger
dedb464654
Merge pull request #220 from dmbaturin/T4306-1.3.0
T4306: do not perform a dirtiness check for release builds
2022-03-17 19:49:52 +01:00
Daniil Baturin
1635b91a95 T4306: do not perform a dirtiness check for release builds 2022-03-17 14:35:58 -04:00
Christian Poessinger
34c969793b
Kernel: T3318: update Linux Kernel to v5.4.184 2022-03-12 09:22:36 +01:00
Christian Poessinger
73833d0a1e
Kernel: T3318: update Linux Kernel to v5.4.183 2022-03-09 07:37:50 +01:00
Christian Poessinger
c4c4791f54
Kernel: T3318: update Linux Kernel to v5.4.182 2022-03-02 20:06:08 +01:00
Christian Poessinger
e0899b927c
Kernel: T3318: update Linux Kernel to v5.4.181 2022-02-23 17:36:08 +01:00
Christian Poessinger
76e548707f
Kernel: T3318: update Linux Kernel to v5.4.180 2022-02-16 22:39:27 +01:00
Christian Poessinger
af46220735
Merge pull request #216 from sever-sever/T3872-bld
telegraf: T3872: Add repo influxdb for newest pkg for equuleus
2022-02-09 07:40:49 +01:00
Christian Poessinger
410b3aef2a
Kernel: T3318: update Linux Kernel to v5.4.178 2022-02-08 22:48:06 +01:00
Viacheslav Hletenko
252b842a30 telegraf: T3872: Add repo influxdb for newest pkg for equuleus
Adding influxdb repo and key. Delete telegraf from vyos-buid, it will
be added to vyos-1x in debian/conrtol. To use unixsocket for syslog we
update telegraf to version => 1.20 b.c current version in the
standard repo 1.16.2-1 doesn't support some features
2022-02-08 12:39:47 +00:00
Christian Poessinger
446415bcf8 Jenkins: Docker: buildcontainers w/o cache
... so we fetch latest Debian updates

(cherry picked from commit b4cbb6669527bd995e20952525e036d71ec0e36f)
2022-02-06 09:21:07 +01:00
Christian Poessinger
59da41928a
Kernel: T3318: update Linux Kernel to v5.4.176 2022-02-04 19:45:35 +01:00
Christian Poessinger
109f74f152
Kernel: T3318: update Linux Kernel to v5.4.175 2022-01-31 21:58:49 +01:00
Christian Poessinger
1eeeabe6a2 Kernel: T3318: update Linux Kernel to v5.4.174 2022-01-27 22:06:00 +01:00
Christian Poessinger
eaf4736774
Merge pull request #215 from DmitriyEshenko/patch-7
Accel-PPP: T4204: update accel-ppp version
2022-01-24 19:57:50 +01:00
Eshenko Dmitriy
418ffd6dd1
Accel-PPP: T4204: update accel-ppp version 2022-01-24 11:28:09 +03:00
Christian Poessinger
82241ddd6e Kernel: T3489: re-enable NUMA in kernel build
All throughout the history of vyos-build, NUMA has been disabled.
It WAS enabled back in Vyatta days, so something somewhere has
accidentally turned it off - and it's ALSO mentioned explicitly
in various pieces of documentation, so it's MEANT to be on!

Note for future researchers: CONFIG_INOTIFY_STACKFS=y is provided
by a patch, so patch the kernel BEFORE running make menuconfig, or
manually put it back. If not, it'll vanish and is a wanted part of
the build.

This is a backport of commit d5df496b9b9e for the 5.4 Kernel series.
2022-01-20 20:56:40 +01:00
Christian Poessinger
85f44504c7
Kernel: T3318: update Linux Kernel to v5.4.173 2022-01-20 20:50:47 +01:00
Christian Poessinger
158fb72b1b Jenkins: always archive artifacts 2022-01-20 20:03:35 +01:00
Christian Poessinger
1667f80fa8 packages: T3164: Dropbear - apply VyOS patches without quilt
This prevents error:
dpkg-source: error: expected [ +-] at start of line 16 of diff 'dropbear/debian/patches/0001-Enable-PAM-support.patch'
dpkg-source: info: applying 0001-Enable-PAM-support.patch
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
2022-01-17 19:38:32 +01:00
Christian Poessinger
77ae2d5064 packages: T3164: Debian Buster requires an older Dropbear version
... because of build time dependencies
2022-01-17 18:55:28 +01:00
Christian Poessinger
634ad661d9 Docker: T3164: extend Debian buster build dependencies for Dropbear SSH daemon 2022-01-17 18:55:28 +01:00
Christian Poessinger
d70312ef00
packages: T3164: Dropbear: adjust to equuleus Jenkins pipeline library
We do not have arm64 support in equuleus
2022-01-16 21:48:10 +01:00
Christian Poessinger
a0dc049c7b packages: T3164: build Dropbear from source with PAM support
Dropbear version shipped in Debian does not have PAM support enabled. For the
VyOS console server it would be nice to have the possibility to use RADIUS
authentication.

(cherry picked from commit 52f75193f3afe799017e17504d5785aa7817d455)
2022-01-16 21:25:11 +01:00
Christian Poessinger
ff480b8898 Docker: T3164: add build dependencies for Dropbear SSH daemon
(cherry picked from commit 4ce1c21078a0f6890c0a7004285d8f393a4156b3)
2022-01-16 21:25:11 +01:00
Christian Poessinger
53ce47b27c
Kernel: T3318: update Linux Kernel to v5.4.172 2022-01-16 10:06:00 +01:00
Christian Poessinger
d87383eba1
Kernel: T3318: update Linux Kernel to v5.4.171 2022-01-12 18:52:54 +01:00
Christian Poessinger
a4232e2c1c Jenkins: keepalived: T4128: must use equuleus pipeline library 2022-01-09 21:23:25 +01:00
Christian Poessinger
286cbbba0c keepalived: T4128: bugfix - do not build arm64 package
This fixes passing of wrong function arguments introduced in commit dc1fbb8
("keepalived: do not build arm64 package").
2022-01-09 21:07:06 +01:00
Christian Poessinger
0f31510e42 keepalived: T4128: pin package to specific Git commit
keepalived commit 8af889bc is known to work - pin builds to this version
until we decide for a newer release (2.2.5 or higher).

(cherry picked from commit f0cdd802c2a6a9bc12f5495d517837b4c6a1b494)
2022-01-09 21:03:07 +01:00
Christian Poessinger
dc1fbb8f0e keepalived: do not build arm64 package 2022-01-09 20:59:31 +01:00
Christian Poessinger
5226a4ad37 keepalived: T4128: build package from upstream source
(cherry picked from commit e890cbd5099e296bc2a614d3b7871e1d577aa5f3)
2022-01-09 20:54:26 +01:00
Christian Poessinger
2ac26d4c4f
Kernel: T3318: update Linux Kernel to v5.4.170 2022-01-05 20:57:28 +01:00
Christian Poessinger
1ca75db412 Docker: T4128: add dependencies to build keepalived from source
(cherry picked from commit d137540caa0c5c0405238d77d6e04cd42f2c7685)
2022-01-04 07:40:39 +01:00
Christian Poessinger
7c1799f72f Jenkins: change ISO version name from 1.3-beta to 1.3-stable 2022-01-04 07:12:28 +01:00
Christian Poessinger
6338c523da Jenkins: downloads.vyos.io is deprecated - no longer upload ISO image
(cherry picked from commit 645c891edc01699164279141fb3174e919d3197a)
2022-01-04 07:10:25 +01:00
Christian Poessinger
15a6b10cef Jenkins: increase build timeout to 3 hours
(cherry picked from commit d0932a80c402faf92ed4c7c90aea27aeef5e844e)
2022-01-04 07:10:22 +01:00
Christian Poessinger
3e184ce4da Revert "isis: T1316: enable SNMP support"
This reverts commit 5e2d0fba80221f4adae38c73aadd65b68cef197c.

This is not supported with FRR 7.5 series and will prevent isisd from startup.
2022-01-01 20:06:45 +01:00
Christian Poessinger
bd44c70666
Kernel: T3318: update Linux Kernel to v5.4.169 2021-12-30 21:02:43 +01:00
Daniil Baturin
b23b692309
Merge pull request #210 from DmitriyEshenko/vyos-build-27122021-aaeon
Add interfaces map for AAEON devices: FWS-2280, FWS-2360, FWS-2365
2021-12-28 16:37:00 +07:00
DmitriyEshenko
cd3716ec63 Add interfaces map for AAEON devices: FWS-2280, FWS-2360, FWS-2365 2021-12-27 12:45:52 +00:00
Christian Poessinger
5923731006 Testsuite: fix cdrom boot in UEFI mode
(cherry picked from commit 4ccdaf58fc7b9bf8df71f4b8392930b98729424f)
2021-12-26 20:09:34 +01:00
Christian Poessinger
d0a8d6a454 Revert "Testsuite: limit QEmu test disk size to 1G to not waste space on build host"
This reverts commit a5e591fa9b66b229f7296de177a570c7b7126be4.
2021-12-26 20:09:28 +01:00
Christian Poessinger
17799b2c84 Jenkins: only deploy ISO if requested via parameter
(cherry picked from commit c78b06be53a269c00d9922561bf1abeb8129b7c5)
2021-12-26 09:43:23 +01:00
Christian Poessinger
a5e591fa9b Testsuite: limit QEmu test disk size to 1G to not waste space on build host
(cherry picked from commit 1960c1c259bc27c8f1f7806b40687b7e82866f01)
2021-12-26 09:04:16 +01:00
Christian Poessinger
67a6f3e3c9 Testsuite: add RAID-1 test case for disk recovery
(cherry picked from commit 986fd18e11ac19470e17ad786d5cc908339ccb43)
2021-12-25 22:08:20 +01:00
Christian Poessinger
35d432c281 Testsuite: add loginVM()/shutdownVM() helpers
(cherry picked from commit a36755da0b10d884eff84f52e24a0f9ec185e461)
2021-12-25 22:07:33 +01:00
Christian Poessinger
8433218c32 Testsuite: add 8th NIC and disable PXE boot
(cherry picked from commit e836f7245837618c00f563af4ae0836ab81b5686)
2021-12-25 22:07:01 +01:00
Christian Poessinger
5e2d0fba80
isis: T1316: enable SNMP support 2021-12-25 18:41:13 +01:00
Christian Poessinger
72c9f1f89c
Jenkins: stop publishing ISO images after 1.3.0 LTS release 2021-12-24 09:21:10 +01:00
Daniil Baturin
2f691bb2f6 T4084: add the default VyOS post-login banner to the image 2021-12-19 11:23:37 +07:00
Christian Poessinger
5e3b2b9afe
Kernel: T3318: update Linux Kernel to v5.4.165 2021-12-14 23:41:10 +01:00
Christian Poessinger
22500ef2fb wwan: T3795: disable ModemManager service
(cherry picked from commit 8cf4aba93320951c33f8f8b2b53ab9cf7d1076a0)
2021-12-10 22:49:14 +01:00
Christian Poessinger
017abd48cb Jenkins: run "make testraid" for RAID-1 verification
(cherry picked from commit 4a21175243e0dc86b710cf4754834241d0cfcfd9)
2021-12-09 23:26:15 +01:00
Christian Poessinger
141172a810 Testsuite: set default timeout to 60 seconds
(cherry picked from commit 76f59a39153f4e5880602f4b439efabb2dff3b07)
2021-12-09 23:26:15 +01:00
Christian Poessinger
eeb90e20d9 Testsuite: add new "make testraid" target for RAID-1 installation testing
(cherry picked from commit 462c5f80e086b1f5f74c564b3cb53df230b06d6b)
2021-12-09 23:26:15 +01:00
Christian Poessinger
fcf34f734f Testsuite: reference default user/pass from variable
(cherry picked from commit 2aa0166d87c9ebd024dc8aff950bfb11492f59ea)
2021-12-09 23:26:15 +01:00
Christian Poessinger
596a0fdf67 Makefile: add common helper to check if ISO was build before running tests
(cherry picked from commit c5dee499abaf729dc9388c0b86530c0d09fd9fd1)
2021-12-09 23:26:15 +01:00
Christian Poessinger
a48cd47509
Kernel: T3318: update Linux Kernel to v5.4.164 2021-12-08 10:10:30 +01:00
Christian Poessinger
5d1b7ea47a
Merge pull request #209 from fetzerms/patch-1
T4034: Fix package path for xcp-ng build
2021-12-03 12:19:18 +01:00
Matthias Fetzer
d37417e9e4
T4034: Fix package path for xcp-ng build 2021-12-03 11:11:02 +01:00
Christian Poessinger
1c0656e09c
Merge pull request #207 from fetzerms/fetzerms-patch-1
T4034: Fix package list for xcp-ng-iso build
2021-12-02 20:02:45 +01:00
Matthias Fetzer
8bef001fe9
T4034: Fix package list for xcp-ng-iso build
prepare target is running before xcp-ng-iso which copies ./data/package-lists/vyos-x86.list.chroot to $(build_dir)/config/package-lists/vyos-x86.list.chroot.
During the build step, this is too late and therefore we need to patch the package list inside the build directory.
2021-12-02 19:56:22 +01:00
Christian Poessinger
67fc0f0feb Kernel: T3318: update Linux Kernel to v5.4.163 2021-12-02 08:02:08 +01:00
Christian Poessinger
b93f46a0ca
Merge pull request #206 from sever-sever/T4013
build: T4013: Add aws-cloudwatch-agent for aws iso images
2021-11-29 16:54:50 +01:00
Viacheslav
a116d1a2c3 build: T4013: Add aws-cloudwatch-agent for aws iso images 2021-11-29 15:35:51 +00:00
Christian Poessinger
1a1daab938
Kernel: T3318: update Linux Kernel to v5.4.162 2021-11-26 21:31:52 +01:00
John Estabrook
c77fa19403 build: workaround to restore building with local packages 2021-11-25 08:28:09 -06:00
Christian Poessinger
9b67b1c5dd
Merge pull request #205 from DmitriyEshenko/patch-5
Accel-PPP: T4015: update version which include threading fix
2021-11-24 08:45:35 +01:00
Eshenko Dmitriy
a1dc0af473
Accel-PPP: T4015: update version which include threading fix 2021-11-23 13:54:59 +03:00
Christian Poessinger
38d6e29cc1
Kernel: T3318: update Linux Kernel to v5.4.161 2021-11-22 17:24:24 +01:00
Christian Poessinger
95a93de8fe wwan: T3895: pin modemmanager package dependencies to buster-backports
Commit 52b231df00 ("wwan: T3895: upgrade modemmanager package") just updated the
main package but all required dependencies did not get pinned.
2021-11-18 20:18:28 +01:00
Christian Poessinger
52b231df00 wwan: T3895: upgrade modemmanager package
We need the JSON output support from modemmanager.
2021-11-18 19:13:12 +01:00
Christian Poessinger
58c119c919
Kernel: T3318: update Linux Kernel to v5.4.160 2021-11-17 18:49:49 +01:00
Christian Poessinger
7c21b58ce7
Kernel: T3318: update Linux Kernel to v5.4.159 2021-11-14 07:53:44 +01:00
Christian Poessinger
df914621b1 T3912: drop default issue file - autogenerated on boot
(cherry picked from commit ab8ae2fda8358f399aae1468f2a70377043aca3a)
2021-11-12 17:35:10 +01:00
Christian Poessinger
f34c3a0656
Merge pull request #202 from zdc/T3934-equuleus
ocserv: T3934: Added own build of ocserv
2021-11-10 18:35:32 +01:00
zsdc
2e1eac5980 ocserv: T3934: Added own build of ocserv
Because of a strange bug with the Debian package
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997981) we need to
have our own build of ocserv from the same source.
2021-11-10 19:04:30 +02:00
Daniil Baturin
a66f14c380
Merge pull request #199 from erkin/equuleus
T3962: Check if open-vm-tools is present before attempting to write its config
2021-11-09 21:01:53 +07:00
erkin
28dcbd7928 T3962: Check if open-vm-tools is present before attempting to write its config 2021-11-09 16:58:15 +03:00
Christian Poessinger
c76084a931 T3912: remove superfluous motd.d kernel version shell script
(cherry picked from commit ee81272116cd680fd3b35497739f82be144b33a5)
2021-11-08 17:31:27 +01:00
Christian Poessinger
6cb74ef9f0 Revert "T3912: use a more informative default login banner"
This reverts commit 1d360c2ea7065805636acb709af14f01d54c188c.
2021-11-08 17:31:27 +01:00
John Estabrook
6f3fbc6ef3 http api: T3412: add build dependencies for vyos-http-api-tools
(cherry picked from commit 52d0b69f09692c8cc95ece99d8118b3cdb7dfc14)
2021-11-08 05:16:29 -06:00
Christian Poessinger
ba06281c89
Kernel: T3318: update Linux Kernel to v5.4.158 2021-11-06 22:45:06 +01:00
Daniil Baturin
1cab06598c Update the boot splash for Equuleus 2021-11-06 18:21:07 +07:00
Daniil Baturin
ead27e05b9 Add a file with artwork license and modified image distribution guidelines 2021-11-06 18:20:45 +07:00
Daniil Baturin
932b2d56fb
Merge pull request #197 from sever-sever/3971
build-iso: T3971: Ability to buid ISO images for xcp-ng
2021-11-05 23:39:35 +07:00
Viacheslav
5a684cd9a7 build-iso: T3971: Ability to buid ISO images for xcp-ng 2021-11-05 16:31:45 +00:00
Christian Poessinger
1da6287f17 Testsuite: use individual UUID/name per UEFI/BIOS instance
(cherry picked from commit ec168f3d2cede849c66d078a3df0514dc1ed65a0)
2021-11-04 21:03:24 +01:00
Christian Poessinger
9c30efd774
Kernel: T3318: update Linux Kernel to v5.4.157 2021-11-03 19:10:35 +01:00
Christian Poessinger
bb511522cc Testsuite: add UUID for DUID generation during tests
(cherry picked from commit 2264c8a812325f57fe0361fca9dad992048e572f)
2021-10-30 13:23:32 +02:00
Christian Poessinger
71722a4a56
Kernel: T3318: update Linux Kernel to v5.4.156 2021-10-28 20:16:11 +02:00
Christian Poessinger
76ae1acd27 Kernel: T3927: enable kernel support for HW offload of the TLS protocol 2021-10-21 18:50:17 +00:00
Christian Poessinger
62a2f748f5
Kernel: T3318: update Linux Kernel to v5.4.155 2021-10-21 06:56:22 +02:00
Christian Poessinger
defac16108
Kernel: T3318: update Linux Kernel to v5.4.154 2021-10-17 17:50:08 +02:00
Daniil Baturin
1d360c2ea7 T3912: use a more informative default login banner 2021-10-17 09:40:42 -04:00
Christian Poessinger
f9c89e3565 T3879: bugfix GPG signature validation on image install 2021-10-16 18:51:50 +02:00
Christian Poessinger
35fdd4f8cd
Kernel: T3318: update Linux Kernel to v5.4.153 2021-10-13 22:09:56 +02:00
Christian Poessinger
47860f64e4
Kernel: T3318: update Linux Kernel to v5.4.152 2021-10-11 08:06:24 +02:00
Christian Poessinger
77c00b4350
Kernel: T3318: update Linux Kernel to v5.4.151 2021-10-07 20:00:56 +02:00
Christian Poessinger
479d2482f3 uefi: T3880: support both VGA and serial consolex 2021-10-03 11:20:56 +02:00
Christian Poessinger
17479dd865 uefi: T3880: re-render image to work with GRUB
convert -resize 640x480 -depth 16 -colors 14 old.png new.png
2021-10-03 11:20:19 +02:00
Christian Poessinger
e6ce9e7667 Makefile: "make test" runs in UEFI mode "make testc" continues to use BIOS
With this change we validate both installation types that they work and
operates "as expected".
2021-10-02 12:06:24 +02:00
Christian Poessinger
6c438f92e7 Testsuite: add support for UEFI boots in Qemu 2021-10-02 12:05:50 +02:00
Christian Poessinger
769908f498 pdns: recuror: T3882: upgrade package to version 4.5 2021-10-02 12:04:25 +02:00
Christian Poessinger
e22881a979 Docker: add ovmf requirement for UEFI boot tests 2021-10-02 09:59:24 +02:00
Christian Poessinger
aeafa43e69
Kernel: T3318: update Linux Kernel to v5.4.150 2021-10-02 09:57:26 +02:00
Christian Poessinger
701f08deb2
Kernel: T3318: update Linux Kernel to v5.4.149 2021-09-27 19:41:30 +02:00
Daniil Baturin
d7c545fcb6
Merge pull request #187 from UnicronNL/equuleus
T3864: Add Edgecore build to VyOS 1.3 Equuleus
2021-09-26 19:38:11 +07:00
Kim Hagen
e1dade8feb restore vmdk removal 2021-09-26 07:33:01 -05:00
DmitriyEshenko
2ffb8da3a2 Create common build for EC devices 2021-09-26 07:18:57 -05:00
DmitriyEshenko
ccd513928c Improve interface naming for EC saf51015I/saf51003I 2021-09-26 07:16:24 -05:00
Eshenko Dmitriy
8d3da190ca Add build option for Edge-Core SAF51003L 2021-09-26 07:15:44 -05:00
DmitriyEshenko
e3a891b2c4 add build option for Edge-Core saf51015I 2021-09-26 07:10:24 -05:00
Christian Poessinger
7ae916d98a
Kernel: T3318: update Linux Kernel to v5.4.148 2021-09-23 09:35:04 +02:00
Christian Poessinger
a9f265109d Testsuite: add missing leading 'f' for Python3 format strings
(cherry picked from commit 07555c06452524d860f1093cec6537d3102846f3)
2021-09-19 12:52:35 +02:00
Christian Poessinger
e3ff2904a6
Kernel: T3318: update Linux Kernel to v5.4.147 2021-09-18 10:29:09 +02:00
Christian Poessinger
3cff8186e8
Kernel: T3318: update Linux Kernel to v5.10.64 2021-09-15 21:35:20 +02:00
Christian Poessinger
ec031b4d8b
Kernel: T3318: update Linux Kernel to v5.4.145 2021-09-13 20:13:41 +02:00
Daniil Baturin
6924ac693b Revert "T3821: Hardcode component versions in configuration files"
This reverts commit 672b0fe4d25deca9b7fd8d24ce040d63d5d242c8.
2021-09-13 12:09:53 -04:00
Daniil Baturin
ecf4137b75 Revert "Use correct component versions for equuleus."
This reverts commit 23639568a945f19471af88547dab45b87bbd642d.
2021-09-13 12:09:48 -04:00
Daniil Baturin
8419069dc1 Update NTP servers in cloud configs. 2021-09-12 12:52:01 -04:00
create with ansible
23639568a9 Use correct component versions for equuleus. 2021-09-12 12:50:21 -04:00
Daniil Baturin
cfd40b1be5 Update NTP servers in the default AWS config. 2021-09-12 09:59:36 -05:00
erkin
672b0fe4d2 T3821: Hardcode component versions in configuration files 2021-09-12 09:21:19 -05:00
Daniil Baturin
332378b90a Update NTP servers in the default config. 2021-09-11 23:55:28 -05:00
Christian Poessinger
ffd3b34935 powerdns: T3820: upgrade from 4.3 -> 4.4 2021-09-10 10:49:37 +02:00
Christian Poessinger
acc36883a6 salt: T3819: update version 3002.3 -> 3003.x 2021-09-10 10:47:50 +02:00
Christian Poessinger
09b8377a43 Jenkins: Docker: add build options when assembling container
(cherry picked from commit 925cf87950cc66615046219a6f18910b3722bd67)
2021-09-07 12:07:48 +02:00
Christian Poessinger
0f34e1b71b
Docker: allow "releaseinfo-change" for apt-get update 2021-09-07 11:51:14 +02:00
Christian Poessinger
cdc8bc1520
Jenkins: Docker: also trigger rebuild on changes to Jenkinsfile.docker 2021-09-07 11:47:11 +02:00
Christian Poessinger
d521a9dfc8 Docker: add bash and bash-completion to install list
(cherry picked from commit f02e672dd33373d66c67544ee8a9e791e7e019f6)
2021-09-07 10:09:10 +02:00
Christian Poessinger
14583fc2b4
Kernel: T3318: update Linux Kernel to v5.4.144 2021-09-04 07:15:18 +02:00
Christian Poessinger
ef081c4787 Kernel: T3318: update Linux Kernel to v5.4.143 2021-08-27 10:24:12 +02:00
erkin
a86c1bcd93 T3351: Add SHA256 checksums
(cherry picked from commit 5e47e3ad3c333197bbff10bbda7d4bbd9f0b4009)
2021-08-27 10:15:52 +02:00
Christian Poessinger
a834d2a97a systemd: services: remove no longer available lighttpd.service from disable list 2021-08-27 09:23:05 +02:00
Christian Poessinger
1ecd2cdd0e systemd: services: remove no longer available exim4.service from disable list 2021-08-27 09:23:01 +02:00
Christian Poessinger
a534d2ca71 Jenkins: BUILD_VERSION is now calculated during runtime
In the past a cached version of BUILD_VERSION was used which would manifest
in a wrong timestamp from build start time vs ISO time.

(cherry picked from commit 1941149de81d0e9c0c7ae334452786ba6fff8f09)
2021-08-26 10:07:36 +02:00
Christian Poessinger
13295638a6 Jenkins: remove unused BUILD_QEMU parameter 2021-08-25 10:15:29 +02:00
Christian Poessinger
0c9de66752 Jenkins: place snapshot images in a version subdirectory
when BUILD_SNAPSHOT is set, place image in a subdirectory that is named after
the specified BUILD_VERSION parameter.

Example:
vyos-1.3.0-rc6-amd64.iso will be uploaded to snapshot/1.3.0-rc6.

(cherry picked from commit 768b900f9296ce8e26b6f330581160c8a533b41f)
2021-08-22 18:10:33 +02:00
Christian Poessinger
75b37b28b2 Jenkins: BUILD_BY and BUILD_VERSION should be placed in quotes
(cherry picked from commit c66d7648c8602da73bd5acd1d88ea022d3c26cfd)
2021-08-22 17:23:53 +02:00
Christian Poessinger
35f7e66c9a Jenkins: when BUILD_SNAPSHOT is set - only publish to snapshot bucket
(cherry picked from commit 9640a0293cc51347fcab23ad3c50841f2333ebc1)
2021-08-22 17:20:20 +02:00
Christian Poessinger
86610a16de
Kernel: T3318: update Linux Kernel to v5.4.142 2021-08-19 22:22:08 +02:00
Christian Poessinger
e9b7613e17
Kernel: T3318: update Linux Kernel to v5.4.141 2021-08-17 17:46:10 +02:00
Christian Poessinger
bc4c54605b
Kernel: T3318: update Linux Kernel to v5.4.140 2021-08-12 19:54:49 +02:00
Christian Poessinger
7e99a23092 Kernel: T3318: update Linux Kernel to v5.4.139 2021-08-08 18:33:49 +02:00
Daniil Baturin
3389cd0685 T3713: move utilities to the vyos-user-utils meta-package. 2021-08-07 01:47:00 -05:00
Daniil Baturin
6c07ec8cfc Force the shell to bash in the makefile. 2021-08-06 16:42:39 -05:00
Christian Poessinger
0b6b53ef2c
Kernel: T3318: update Linux Kernel to v5.4.138 2021-08-04 19:52:08 +02:00
Christian Poessinger
3f5f4b03de
Kernel: T3318: update Linux Kernel to v5.4.137 2021-08-03 20:44:44 +02:00
Christian Poessinger
2c85a117b9 GitHub: add PR conflict and author assignment workflows
(cherry picked from commit 6f679441bd94fd1bdcd9a85e750c5fa5aac8ec40)
2021-08-01 14:34:27 +02:00
Christian Poessinger
1e01fcfeb8
Kernel: T3318: update Linux Kernel to v5.4.136 2021-07-29 22:21:21 +02:00
Christian Poessinger
787e35a369 Kernel: T3318: update Linux Kernel to v5.4.135 2021-07-26 22:23:06 +02:00
zsdc
4aada15f2d kernel: T3704: Enabled SG module
Enabled build of the SG module to make possible communication with RAID
adapters from Areca (https://www.areca.com.tw/).

(cherry picked from commit 6d77d03c3fcda288ed44b979338d38a58d8ae5f3)
2021-07-26 22:22:43 +02:00
Christian Poessinger
44c5e7d928 Jenkins: when building VyOS ISO use UTC timestamp
(cherry picked from commit d8f519231612c666d6804282282a4b0213b531d7)
2021-07-26 07:02:33 +02:00
Christian Poessinger
abc6e3ebb7 Kernel: only build packages if the package changes at all 2021-07-24 21:25:01 +02:00
Christian Poessinger
814b4f9a8e Jenkins: only build packages if the package changes at all - skip otherwise
This will only run the Jenkins Pipeline if Git detects a change in the
specified file path. If no change is found in the path, the individual Pipeline
statges are skipped.

(cherry picked from commit 1c3e5e18fd746bbb6ccd4a09d1fec1bed2f8316b)
2021-07-24 21:25:01 +02:00
Christian Poessinger
17527d43a9 Jenkins: lib: add changesPattern parameter to buildPackage class
we can now externally control if the package should be build when a file
changes. It defaults to "*" which means "always build".

(cherry picked from commit 9e57b42149d25092d22fd215d4bd08f3cb089c88)
2021-07-24 21:25:01 +02:00
Christian Poessinger
22875dd14a Jenkins: lib: remove skipDefaultCheckout() from pipeline options
We need the default checkout to determine the Git changeset.

(cherry picked from commit d5bec94eb8134ed7a1b47584d8bcbf4ba8c9fe1c)
2021-07-24 21:25:01 +02:00
Christian Poessinger
1dbcdde790 build: qemu: do not use symlinks on generated images
Jenkins can not properly deal with symbolic links.

(cherry picked from commit 5c359621dfff2b3d134547aa3be6cddc245a2a5e)
2021-07-24 17:43:33 +02:00
Christian Poessinger
565de03386
Kernel: T3318: update Linux Kernel to v5.4.134 2021-07-21 21:51:07 +02:00
Christian Poessinger
414f931a3d
Kernel: T3318: update Linux Kernel to v5.10.50 2021-07-19 21:38:23 +02:00
Christian Poessinger
f5eda29a45 Kernel: T3318: update Linux Kernel to v5.4.132 2021-07-17 09:13:17 +02:00
Christian Poessinger
2ba1cbb936 Kernel: T3318: update Linux Kernel to v5.4.131 2021-07-12 18:43:54 +02:00
Christian Poessinger
43c7b86095 Kernel: T3318: update Linux Kernel to v5.4.130 2021-07-09 08:03:51 +02:00
Christian Poessinger
62985f00fb
Kernel: T3318: update Linux Kernel to v5.4.129 2021-06-30 21:43:12 +02:00
Christian Poessinger
d3f3913e18
Merge pull request #174 from zdc/T2640-equuleus
VyOS in Docker: T2640: Fixed builds for equuleus (backported from sagitta)
2021-06-30 21:41:15 +02:00
zsdc
9e95a707e6 VyOS in Docker: T2640: Fixed builds for sagitta
Fixed the problem when APT repositories were not configured properly in VyOS 1.4 / sagitta during a Docker image build.
2021-06-29 18:06:08 +03:00
Christian Poessinger
892e8689b3 Jenkins: sync pipeline to current branch 2021-06-27 18:14:13 +02:00
Christian Poessinger
f5c2e1ae34 openvpn: T3650: upgrade package to 2.5.1 2021-06-25 19:27:30 +02:00
Christian Poessinger
711a1d2f1b
Kernel: T3318: update Linux Kernel to v5.4.128 2021-06-23 18:51:10 +02:00
Christian Poessinger
6f734b93d4
Kernel: T3318: update Linux Kernel to v5.4.127 2021-06-20 13:58:23 +02:00
DmitriyEshenko
8b329ff4a7 Accel-PPP: T3629: update to latest version
(cherry picked from commit 5dbfafaf414d044a1b98591b69ee143b11384131)
2021-06-16 20:05:51 +02:00
Christian Poessinger
72a2b80f24 Kernel: T3318: update Linux Kernel to v5.4.126 2021-06-16 20:03:16 +02:00
Christian Poessinger
85e4f7cf39 Revert "Kernel: usb: wwan: T3063: remove QMI, NCM and CDC drivers for WWAN cards"
This reverts commit 3fa7fe6926a538a8b4f25ca3e842fefb9699def6.
2021-06-13 13:09:07 +02:00
Christian Poessinger
1e4fd45724 Kernel: T3318: update Linux Kernel to v5.4.125 2021-06-10 19:16:17 +02:00
sever-sever
f35648f296 charon-syslog: T2620: Add ike-name to IPSec logs
(cherry picked from commit f0166cc4b2ba66c7cd2d2d2ab9aa8be839a26543)
2021-06-08 14:57:34 +02:00
Christian Poessinger
23076b4c89
Jenkins: trigger GitHub action for community page rebuild on ISO upload 2021-06-08 07:45:30 +02:00
Christian Poessinger
0729ba52d0
Kernel: T3318: update Linux Kernel to v5.4.124 2021-06-04 14:54:13 +02:00
Christian Poessinger
e75e0b2a4a
Kernel: T3318: update Linux Kernel to v5.4.123 2021-05-29 22:53:28 +02:00
Christian Poessinger
aaf3f4b58f Kernel: T3318: update Linux Kernel to v5.4.122 2021-05-26 19:56:06 +02:00
Runar Borge
272825480a Jenkins: add cleanup for finalize stage
(cherry picked from commit a3fc5bd3b2717a08c45e78fb9c0b0aeabe206ef3)
2021-05-24 11:50:53 +02:00
Christian Poessinger
d55f2bde80 systemd: services: T3572: disable smartd
(cherry picked from commit 21340d1348bda97c599e67a8e3c7cd6b9d618830)
2021-05-23 10:52:43 +02:00
Christian Poessinger
28e7f34a70 Kernel: T3318: update Linux Kernel to v5.4.121 2021-05-23 09:44:50 +02:00
Christian Poessinger
2c5ba87982 Kernel: T3318: update Linux Kernel to v5.4.120 2021-05-19 20:29:38 +02:00
Christian Poessinger
c39fc94386 Accel-PPP: T3562: update to latest version
Update to: https://github.com/accel-ppp/accel-ppp/commit/277ad4c3c7af01

(cherry picked from commit 8fb9681c6715bb1b72b62d1daf146c032050d6b2)
2021-05-19 20:29:01 +02:00
Christian Poessinger
13a2b3e221 Kernel: T3318: update Linux Kernel to v5.4.119 2021-05-15 10:04:44 +02:00
sever-sever
4fbdabff1c keepalived: T3540: Use backport version 2.1.5-0.2
(cherry picked from commit 3652b3fd8eb7b4e5134906aa1c3aba2a35d293ca)
2021-05-15 10:04:23 +02:00
Christian Poessinger
36a802a1d9 Kernel: T3318: update Linux Kernel to v5.4.118 2021-05-12 21:30:56 +02:00
Christian Poessinger
c75c673a67 Kernel: T3318: update Linux Kernel to v5.4.117 2021-05-08 13:04:51 +02:00
Christian Poessinger
b7767e9c99 Jenkins: name CI build images "beta" instead of "rolling"
... this was the naming in the past but commit fe80f574b80 ("Jenkins: add
parameters to image build") changed this back to rolling.
2021-05-02 14:27:41 +02:00
Christian Poessinger
a9f22f460c Jenkins: tabs to spaces 2021-05-02 14:27:18 +02:00
Christian Poessinger
20277a511c
Merge pull request #163 from sever-sever/T2100-frr
frr: T2100: Update FRR to 7.5
2021-05-02 14:11:02 +02:00
Christian Poessinger
4174b1309a Kernel: T3491: switch to 1kHz timer interrupt
(cherry picked from commit a1c4e49e90c041e61d26b04bd7df7a89a919d7ec)
2021-05-01 09:26:20 +02:00
Christian Poessinger
6ff189d740 Kernel: T3318: update Linux Kernel to v5.4.115 2021-04-30 06:10:47 +02:00
sever-sever
39791ee71b frr: T2100: Update FRR to 7.5 2021-04-26 21:54:17 +00:00
Christian Poessinger
470b2d0079 Kernel: T3318: update Linux Kernel to v5.4.114 2021-04-22 08:20:43 +02:00
Daniil Baturin
2aac286ccf Update to OCaml 4.12 2021-04-18 12:41:06 +03:00
Daniil Baturin
281dc64d5a Add containers to the list of OPAM dependencies (needed for the new validate-value). 2021-04-18 12:39:10 +03:00
Christian Poessinger
4761fe8118
Kernel: T3318: update Linux Kernel to v5.4.113 2021-04-17 23:35:37 +02:00
Christian Poessinger
6ee37f34f8 Kernel: T3318: update Linux Kernel to v5.4.112 2021-04-15 08:43:42 +02:00
Christian Poessinger
9080bd7020 Kernel: T3318: update Linux Kernel to v5.4.111 2021-04-11 11:09:01 +02:00
Christian Poessinger
e0a176ba81
Kernel: T3318: update Linux Kernel to v5.4.110 2021-04-07 18:34:07 +02:00
qxmips
8396c12e50 Fixed s3 upload path 2021-04-04 22:25:31 -04:00
Christian Poessinger
1dc49e8c90
Jenkins: use build library from proper branch "equuleus" 2021-04-04 17:20:05 +02:00
Daniil Baturin
dd897050ed T2108: add main and backup minisign release keys.
(cherry picked from commit 68007b92d605d0205b013ffe1881c08649c0153a)
2021-04-04 10:44:08 +02:00
Christian Poessinger
e6e4c66094 Jenkins: lib: sync library with "current" branch 2021-04-03 16:44:21 +02:00
Christian Poessinger
a5ee43596d Jenkins: do not fail fast on parallel build errors 2021-04-03 16:22:16 +02:00
Christian Poessinger
772c546380 packages: add minisign
(cherry picked from commit cb2659c88c9166bec8088368211db42fa82b9129)
2021-04-03 14:13:06 +02:00
Christian Poessinger
1b8d035faa Testsuite: extend QEMU interactions
* Change the way how networking is setup to ensure that the network interface
  inside the QEMU gues is actually u/U instead of u/D
* Use common base MAC address
* Run "show interfaces" after installation to check all requirements are met

(cherry picked from commit f04127aedb9fa4aac6fad5364c9cefe42cd4bbad)
2021-04-03 14:05:08 +02:00
Christian Poessinger
0051308fdb Jenkins: place QEMU image build after tests 2021-04-03 12:23:13 +02:00
Christian Poessinger
4456050d44
Jenkins: no longer build arm64 version, development is done on current branch 2021-04-03 12:12:35 +02:00
Christian Poessinger
e4a953f8e8 Kernel: T3318: update Linux Kernel to v5.4.109 2021-03-31 20:53:15 +02:00
Christian Poessinger
56ecc5b821 systemd: services: disable sendmail
(cherry picked from commit 700f566000245a078147a59ada9889d598cad42c)
2021-03-27 15:14:57 +01:00
Christian Poessinger
ed19a11152 Jenkins: add build option for AWS S3 snapshot bucket upload
(cherry picked from commit 222a7d7f478bc61b2b6f56f77273fa23b31d8c82)
2021-03-26 19:33:37 +01:00
Christian Poessinger
7e104dbc56 Jenkins: upload ISO image to folder named after the Git branch instead of rolling
By default all uploads are uploaded to the "rolling" folder and a symlink for
the latest upload is created. If a 1.3 beta image is build after a 1.4 run -
the resulting "latest-rolling.iso" image will be 1.3 instead of 1.4

(cherry picked from commit 2a50c5e3be873f459d6e854f540d30962ebe3b56)
2021-03-26 19:33:33 +01:00
Christian Poessinger
9e128d4dc1 Jenkins: add build parameter for image upload and smoketests
(cherry picked from commit 3ccfd2bf06c7d11d6244aa1307d5ac2142de0cdb)
2021-03-25 09:03:21 +01:00
Christian Poessinger
2824905861 Kernel: T3318: update Linux Kernel to v5.4.108 2021-03-24 21:32:16 +01:00
Christian Poessinger
fe80f574b8 Jenkins: add parameters to image build
The ISO image build should be able to be parameterised from the outside,
as setting who build the image, and which version number to use.

If nothing is specified, use sane defaults as the current timestand and
autobuild@vyos.net.

(cherry picked from commit e552cf8eb23f6d7fd95461771002b7fb0115d475)
2021-03-24 21:32:16 +01:00
Christian Poessinger
33391442c1 Kernel: T3318: update Linux Kernel to v5.4.106 2021-03-19 16:22:39 +01:00
Christian Poessinger
726ee04bfe Install additional "irqtop" package
(cherry picked from commit ff63cc8cad0e6bfafbccc005427ae3a8efcce8c9)
2021-03-18 07:15:31 +01:00
Cody Brannan
3be456b18c salt: T3373: Upgrade to SaltStack version 3002.5
(cherry picked from commit 4df52dff944d11d898617bad17e2b02f4bd7793b)
2021-03-13 09:16:05 +01:00
Cody Brannan
1fe93ec926 t3372: support public HTTPS repos in live-build
(cherry picked from commit a8f7958a89edaa23285478f53fa833e51fbbb255)
2021-03-13 09:16:00 +01:00
Christian Poessinger
dea439f542 Kernel: T3318: update Linux Kernel to v5.4.105 2021-03-13 09:15:48 +01:00
Christian Poessinger
550e1dcd98 Kernel: T3318: update Linux Kernel to v5.4.104 2021-03-09 21:51:33 +01:00
Christian Poessinger
67eeaccec5 Kernel: T3318: update Linux Kernel to v5.4.102 2021-03-05 21:39:07 +01:00
Christian Poessinger
fe0c7978b5 Kernel: T3318: update Linux Kernel to v5.4.101 2021-02-27 15:38:08 +01:00
DmitriyEshenko
ce88bf4130 T3303: Modify os_release file for changing Welcome message on boot
(cherry picked from commit e218a757616d27a5c31a3c39a175c5e73a376f23)
2021-02-24 21:18:35 +01:00
Christian Poessinger
f4be339392 Kernel: T3318: update Linux Kernel to v5.4.99 2021-02-18 08:41:32 +01:00
Christian Poessinger
11720a63fb Kernel: T3318: update Linux Kernel to v5.4.98 2021-02-17 00:27:29 +01:00
Eshenko Dmitriy
6009179a95 kernel: T3312: Add SolarFlaire kernel modules
(cherry picked from commit 176dd5eeb5c3bebc6d8c5163c982b9b73159b9f5)
2021-02-15 20:50:38 +01:00
Christian Poessinger
e1b71f06d0 Kernel: T3295: update Linux Kernel to v5.4.96 2021-02-08 17:50:36 +01:00
Christian Poessinger
d5abc54c05 Jenkins: only keep ISO images for 14 days
(cherry picked from commit ed2f9b3f39e6ab4b50f19932af38599a8985a82b)
2021-02-05 17:27:02 +01:00
qxmips
e5b0cc7129 Jenkins: run containers with "reuseNode" to stay on the same node
(cherry picked from commit 38fa98af45d6c22d7d876bc724d957d2545d011a)
2021-02-02 22:07:34 +01:00
Christian Poessinger
c8f90e53f3 frr: T3227: import hotfix for frr-reload script to fix rpki issues
(cherry picked from commit c6728db700820fe931c839e629cf92a278517be5)
2021-02-01 20:53:19 +01:00
Christian Poessinger
070e2e77e9 Kernel: also trigger build when "data/defaults.json" changes 2021-01-31 17:39:48 +01:00
Christian Poessinger
1b51a481a4 Kernel: T3276: update Linux Kernel to v5.4.94 2021-01-31 17:27:47 +01:00
Christian Poessinger
b5f7acf9cf Testsuite: use buildin commands over 'openvpn --genkey' raw command
(cherry picked from commit 4188b0f49a88b9881f2a95bc5863270163dcac80)
2021-01-31 12:50:33 +01:00
Christian Poessinger
fd2b3403b5 Testsuite: generate required OpenVPN key(s)
Now all the loaded configs will support OpenVPN based interfaces, too.
All required keys are now generated so the loaded configurations can use:

- /config/auth/ovpn_test_ca.pem
- /config/auth/ovpn_test_server.pem
- /config/auth/ovpn_test_server.key
- /config/auth/ovpn_test_dh.pem
- /config/auth/ovpn_test_site2site.key
- /config/auth/ovpn_test_tls_auth.key

(cherry picked from commit 08d6937f9cbca47b0506086002401baebd021e16)
2021-01-30 16:00:34 +01:00
Christian Poessinger
6811c55410 Testsuite: generate WireGuard default keypair
Now all the loaded configs will support WireGuard interfaces, too. They now cat
refer to the default-keypair to secure the link.

(cherry picked from commit 1bc9b8dda5254eeace6d1c82cf464e98ca362faa)
2021-01-30 16:00:30 +01:00
Christian Poessinger
eb7958f5cf Testsuite: minor code cleanup
(cherry picked from commit 2801efd1014df828643ad5f50ee4a93024981174)
2021-01-30 16:00:26 +01:00
Christian Poessinger
ce088fc89d wide-dhcpv6: T3240: add CI
(cherry picked from commit c72a4f2ddbb977d6055c44275c0341b40618d216)
2021-01-30 09:51:20 +01:00
Brandon Stepler
0b4d319739 Docker: T3240: add wide-dhcpv6 build dependencies
(cherry picked from commit b50c8ff5593a1e8ce85300d92bff09c8448084d6)
2021-01-30 09:50:55 +01:00
Christian Poessinger
a6cb0a0c93 Jenkins: save CPU time and only test using vyos-configd
(cherry picked from commit 37b270bab20d9fc7004d1f06522fcfb4e024732d)
2021-01-25 16:27:38 +01:00
Christian Poessinger
6d179393f7 Kernel: T3243: update Linux Kernel to v5.4.92 2021-01-24 09:57:57 +01:00
Christian Poessinger
b50f19140f Testsuite: increase smoketest timeout as we do more and more tests
(cherry picked from commit c79c13cee6ac86ad68853887a67b93dfe17bdc5b)
2021-01-24 09:37:45 +01:00
Christian Poessinger
08067578ec Kernel: add *.tar.xz to .gitignore
(cherry picked from commit 32d564eb3c3ba1b9dbc2e366e8ba7cc56d145e22)
2021-01-23 10:55:05 +01:00
Christian Poessinger
2e7aa7366c Kernel: Firmware: 5.4 Kernel has modules in a different path 2021-01-19 07:15:49 +01:00
Christian Poessinger
7a40369f8b Kernel: T3218: remove unavailable RSS parameter from intel driver options
This is a roundup commit to ("160b3a9 - Kernel: T3218: drop dependency on Intel
out-of-tree modules") as the in-tree drivers do not support this option, they
always use the maximum available number.

(cherry picked from commit f97f4aca4066e288b2cb13678244ea25c16602ee)
2021-01-17 20:37:20 +01:00
Christian Poessinger
ab6d276326 Kernel: T3223: update linux-firmware to 20201218 2021-01-16 13:04:42 +01:00
Christian Poessinger
73bb19058e Kernel: T3223: update Linux Kernel to v5.4.89 2021-01-16 13:02:08 +01:00
Christian Poessinger
80b093752a Kernel: T3223: retrieve firmware information from Kernel module binary itself
(cherry picked from commit 062d7e0868d7918d386c11fb4e97f5019c2f66ce)
2021-01-16 13:01:46 +01:00
Christian Poessinger
180e720cfc Jenkins: retrive debian repo server via global variable
(cherry picked from commit 76f293633fb5feefcc7acd74d4edeea69b60ea5c)
2021-01-15 17:02:05 +01:00
Christian Poessinger
160b3a9de4 Kernel: T3218: drop dependency on Intel out-of-tree modules 2021-01-14 19:34:34 +01:00
Christian Poessinger
d04e31c9e5 live-build: APT default release is "equuleus" 2021-01-10 21:14:32 +01:00
Christian Poessinger
ba0b01830a iproute2: re-set version to 5.4.0
Commit aa8cb76979 ("Jenkins: select build library from equuleus branch")
accidently pushed the version of the iproute2 package to a non buildable
version.

Version was re-set to match the Kernel version.
2021-01-10 18:02:07 +01:00
Christian Poessinger
d122da3bd6 Docker: vyos-util package requires opem num package
(cherry picked from commit 0ce67af792785679ab1fc07fb2aa59b2288a97b4)
2021-01-10 16:00:36 +01:00
Christian Poessinger
aa8cb76979 Jenkins: select build library from equuleus branch 2021-01-10 15:38:35 +01:00
Christian Poessinger
6d61a39580 Docker: add missing python3-sphinx dependency for vyos-1x
(cherry picked from commit 6897f8b1b1f3e690646c60f7090e3d727be3581e)
2021-01-10 11:07:08 +01:00
Christian Poessinger
30b4da48dc Jenkins: Kernel: extract version from data/defaults.json
No need to specify the kernel version two times, it can be retrieved
from data/defaults.json

(cherry picked from commit 2af09cfd180a4cc86aaca430a1c95d8c4b7a3d9b)
2021-01-10 00:58:57 +01:00
Christian Poessinger
50c5f3669c Jenkins: Kernel: instead of 'git clone' the source use the tarball
This reduces the download and checkout overhead.
2021-01-10 00:31:24 +01:00
Christian Poessinger
a2f580a661 Kernel: T3199: update Linux Kernel to v5.4.88 2021-01-09 18:04:30 +01:00
Christian Poessinger
bdba2aeb7b Jenkins: trigger builds at 0400 hours to not concur with current ISO build 2021-01-09 09:41:12 +01:00
Christian Poessinger
f1ebd94147 Jenkins: rename ISO from rolling to beta 2021-01-08 22:31:31 +01:00
Christian Poessinger
17198b3ff6 Docker: add missing Accel-PPP dependencies
(cherry picked from commit 3ded1cdb3b636450c20985c6e83a5255b5db9e9b)
2021-01-08 22:30:37 +01:00
Christian Poessinger
b65363f3f4 Docker: Linux Kernel depends on rsync
(cherry picked from commit 35fc53ea2645348ef525e6d59044cef90652ccf0)
2021-01-08 21:29:28 +01:00
Christian Poessinger
7ee3836ee7 Docker: fix netfilter build dependencies
(cherry picked from commit 72b507b44fe5858a87ca3f0013f6f0e17b573d8f)
2021-01-08 21:27:57 +01:00
Christian Poessinger
b71a23e26e Docker: fix FRR build dependencies
(cherry picked from commit 9ce186f327603612b3c0fd49104215947eef246c)
2021-01-08 21:01:46 +01:00
Christian Poessinger
679234dbbe Docker: iproute2 has a build dependency on libbsd-dev
(cherry picked from commit fcce4939ed6dcf5cbad72b8a8ba32972a75d3c91)
2021-01-08 20:40:00 +01:00
Christian Poessinger
ac4a3a7b3c Docker: add missing cmake dependency on librtr
(cherry picked from commit 52d7fe9a0531785e2320b99b52ae1474f54047c2)
2021-01-08 20:35:45 +01:00
Christian Poessinger
4a73eefc2f Docker: add wireguard and iproute2 build dependencies
(cherry picked from commit 51c1ea1da3a85caf401735d166fa6dac9effff36)
2021-01-08 20:35:34 +01:00
Christian Poessinger
4f08cc009a Docker: add missing FRR dependency on python3-sphinx
(cherry picked from commit b00025ee86fdf14b0d7c79a90eac23f3950d2770)
2021-01-08 19:08:02 +01:00
Christian Poessinger
8108ce1b3f Docker: properly arrange vyos-build dependencies
(cherry picked from commit de88ecec39b73df8a2b1836b43ed5fba719275d2)
2021-01-08 17:22:49 +01:00
Christian Poessinger
64293ebee3 Docker: vyos-1x has a build-dependency on python3-jinja2
(cherry picked from commit 093505b25f500dbd0691e01c96717081f2385dfa)
2021-01-08 17:22:44 +01:00
Christian Poessinger
248224bbb1 Docker: do not install librtr-doc to avoid pulling in additional dependencies
(cherry picked from commit 5fc508b2dda57652b51702c7eb11d9ca7823108f)
2021-01-08 17:22:39 +01:00
Christian Poessinger
9f4e0bf75f Docker: update OCaml from 4.09.0 -> 4.09.1
This fixes a build with GCC 10 (coming in Debian Bullseye), release notes
available here: https://ocaml.org/releases/4.09.1.html

(cherry picked from commit 9029464252e73c9bee84e2c93c58be5eba29033f)
2021-01-08 17:22:34 +01:00
Christian Poessinger
02b3aede33 Docker: drop dependencies for keepalived
We no longer need to build keepalived on out own, we rely on the Debian
upstream version.

(cherry picked from commit f81c6e53bdf3ac6684daf8dc258b26d635b207cc)
2021-01-08 17:22:29 +01:00
Christian Poessinger
467e88b765 Docker: dependency cleanup for vyos-1x
Most python3 dependencies are set by vyos-1x, use them from that section.

(cherry picked from commit cd633eafe1eb604d384445e7c7f3dd3bd7e7629f)
2021-01-08 17:22:27 +01:00
Christian Poessinger
6a39583c10 Docker: drop installation of dh-systemd
dh-systemd was merged into debhelper in version 9.20160709 [1] and since
stretch, dh-systemd is an empty transitional package.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822670

(cherry picked from commit 432f3f96927a54d2f606f34a3c54ea61406379ad)
2021-01-08 17:21:54 +01:00
qxmips
0b46466f18 moved webhost address to vars
(cherry picked from commit b5d36aaafab4c797937eff6488a90b0bb68522d5)
2021-01-08 17:21:43 +01:00
Daniil Baturin
0c5427cfa1 Fix a typo in the README. 2021-01-04 17:40:18 +02:00
Daniil Baturin
380d8d901a Set the branch version number. 2021-01-04 17:39:39 +02:00
440 changed files with 9829 additions and 18909 deletions

View File

@ -1,7 +1,7 @@
<!-- All PR should follow this template to allow a clean and transparent review -->
<!-- Text placed between these delimiters is considered a comment and is not rendered -->
## Change summary
## Change Summary
<!--- Provide a general summary of your changes in the Title above -->
## Types of changes
@ -18,11 +18,24 @@ the box, please use [x]
- [ ] Other (please describe):
## Related Task(s)
<!-- optional: Link to related other tasks on Phabricator. -->
<!-- * https://vyos.dev/Txxxx -->
<!-- All submitted PRs must be linked to a Task on Phabricator. -->
* https://vyos.dev/Txxxx
## Related PR(s)
<!-- Link here any PRs in other repositories that are required by this PR -->
## Component(s) name
<!-- A rather incomplete list of components: ethernet, wireguard, bgp, mpls, ldp, l2tp, dhcp ... -->
## Proposed changes
<!--- Describe your changes in detail -->
## How to test
<!---
Please describe in detail how you tested your changes. Include details of your testing
environment, and the tests you ran. When pasting configs, logs, shell output, backtraces,
and other large chunks of text, surround this text with triple backtics
```
like this
```
-->
## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->

10
.github/mergify.yml vendored
View File

@ -1,10 +0,0 @@
pull_request_rules:
- name: Label conflicting pull requests
description: Add a label to a pull request with conflict to spot it easily
conditions:
- conflict
- '-closed'
actions:
label:
toggle:
- conflict

3
.github/reviewers.yml vendored Normal file
View File

@ -0,0 +1,3 @@
---
"**/*":
- team: reviewers

View File

@ -1,18 +0,0 @@
---
name: Add pull request labels
on:
pull_request_target:
branches:
- current
- equuleus
- sagitta
permissions:
pull-requests: write
contents: read
jobs:
add-pr-label:
uses: vyos/.github/.github/workflows/add-pr-labels.yml@current
secrets: inherit

View File

@ -3,12 +3,25 @@ on:
pull_request_target:
types: [opened, reopened, ready_for_review, locked]
permissions:
pull-requests: write
contents: read
jobs:
# https://github.com/marketplace/actions/auto-author-assign
assign-author:
uses: vyos/.github/.github/workflows/assign-author.yml@current
secrets: inherit
runs-on: ubuntu-latest
steps:
- name: "Assign Author to PR"
uses: toshimaru/auto-author-assign@v1.3.5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# https://github.com/shufo/auto-assign-reviewer-by-files
assign_reviewer:
runs-on: ubuntu-latest
steps:
- name: Request review based on files changes and/or groups the author belongs to
uses: shufo/auto-assign-reviewer-by-files@v1.1.4
with:
token: ${{ secrets.PR_ACTION_ASSIGN_REVIEWERS }}
config: .github/reviewers.yml

View File

@ -1,15 +0,0 @@
name: "PR Conflicts checker"
on:
pull_request_target:
types: [synchronize]
permissions:
pull-requests: write
contents: read
jobs:
check-pr-conflict:
if: github.repository_owner == 'vyos'
uses: vyos/.github/.github/workflows/check-pr-merge-conflict.yml@current
secrets: inherit

View File

@ -1,18 +0,0 @@
---
name: Check pull request message format
on:
pull_request_target:
branches:
- current
- sagitta
- equuleus
permissions:
pull-requests: write
contents: read
jobs:
check-pr-title:
uses: vyos/.github/.github/workflows/check-pr-message.yml@current
secrets: inherit

View File

@ -1,14 +0,0 @@
name: "Issue and PR stale management"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
pull-requests: write
contents: read
jobs:
stale:
uses: vyos/.github/.github/workflows/check-stale.yml@current
secrets: inherit

View File

@ -1,17 +0,0 @@
name: Check for unused imports using Pylint
on:
pull_request:
branches:
- current
- sagitta
- equuleus
workflow_dispatch:
permissions:
pull-requests: write
contents: read
jobs:
check-unused-imports:
uses: vyos/.github/.github/workflows/check-unused-imports.yml@current
secrets: inherit

View File

@ -1,18 +0,0 @@
name: "CLA Check"
permissions:
actions: write
contents: read
pull-requests: write
statuses: write
on:
pull_request_target:
types: [opened, synchronize, closed]
issue_comment:
types: [created]
jobs:
call-cla-assistant:
uses: vyos/vyos-cla-signatures/.github/workflows/cla-reusable.yml@current
secrets: inherit

View File

@ -1,23 +0,0 @@
name: "Perform CodeQL Analysis"
on:
push:
branches: [ "current", "sagitta", "equuleus" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "current" ]
schedule:
- cron: '22 10 * * 0'
workflow_dispatch:
permissions:
actions: read
contents: read
security-events: write
jobs:
codeql-analysis-call:
uses: vyos/.github/.github/workflows/codeql-analysis.yml@current
secrets: inherit
with:
languages: "['python']"

View File

@ -1,12 +0,0 @@
name: Mergifyio backport
on: [issue_comment]
permissions:
pull-requests: write
contents: read
jobs:
mergifyio-backport:
uses: vyos/.github/.github/workflows/label-backport.yml@current
secrets: inherit

View File

@ -1,19 +0,0 @@
---
name: J2 Lint
on:
pull_request:
branches:
- current
- sagitta
- equuleus
workflow_dispatch:
permissions:
pull-requests: write
contents: read
jobs:
j2lint:
uses: vyos/.github/.github/workflows/lint-j2.yml@current
secrets: inherit

18
.github/workflows/pr-conflicts.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: "PR Conflicts checker"
on:
pull_request_target:
types: [synchronize]
jobs:
Conflict_Check:
name: 'Check PR status: conflicts and resolution'
runs-on: ubuntu-18.04
steps:
- name: check if PRs are dirty
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: "state: conflict"
removeOnDirtyLabel: "state: conflict resolved"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
commentOnClean: "Conflicts have been resolved. A maintainer will review the pull request shortly."

View File

@ -1,35 +0,0 @@
name: PR Mirror and Repo Sync
on:
pull_request_target:
types: [closed]
branches: [current]
workflow_dispatch:
inputs:
sync_branch:
description: 'Branch to mirror'
required: true
default: 'current'
type: choice
options:
- current
permissions:
pull-requests: write
contents: write
issues: write
jobs:
call-pr-mirror-repo-sync:
if: |
github.repository_owner == 'vyos' &&
(
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)
)
uses: vyos/.github/.github/workflows/pr-mirror-repo-sync.yml@current
with:
sync_branch: ${{ github.event.inputs.sync_branch || 'current' }}
secrets:
PAT: ${{ secrets.PAT }}
REMOTE_OWNER: ${{ secrets.REMOTE_OWNER }}

View File

@ -1,47 +0,0 @@
name: Trigger Docker image build
on:
pull_request_target:
types:
- closed
branches:
- current
permissions:
packages: write
contents: read
attestations: write
id-token: write
pull-requests: read
jobs:
track-changes:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
env:
REF: main # Used for curl to trigger image build
steps:
- name: Checkout vyos/vyos-build repo
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- uses: dorny/paths-filter@v3
id: changes
with:
filters: |
docker-dir:
- 'docker/**'
- name: "Trigger Docker image build for ${{ github.ref_name }}"
if: ${{ steps.changes.outputs.docker-dir == 'true' }}
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ secrets.REMOTE_OWNER }}/${{ secrets.REMOTE_REUSE_REPO }}/actions/workflows/build-docker-image.yml/dispatches \
-d '{"ref": "${{ env.REF }}", "inputs":{"branch":"${{ github.ref_name }}", "environment":"production"}}'

View File

@ -1,264 +0,0 @@
name: Trigger to build package
on:
push:
branches:
- current
jobs:
changes:
runs-on: ubuntu-latest
env:
REF: main # Used for curl to trigger build package
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- uses: dorny/paths-filter@v3
id: changes
with:
base: ${{ github.ref_name }}
filters: |
amazon-cloudwatch-agent:
- 'scripts/package-build/amazon-cloudwatch-agent/**'
amazon-ssm-agent:
- 'scripts/package-build/amazon-ssm-agent/**'
aws-gwlbtun:
- 'scripts/package-build/aws-gwlbtun/**'
blackbox_exporter:
- 'scripts/package-build/blackbox_exporter/**'
bash-completion:
- 'scripts/package-build/bash-completion/**'
ddclient:
- 'scripts/package-build/ddclient/**'
dropbear:
- 'scripts/package-build/dropbear/**'
ethtool:
- 'scripts/package-build/ethtool/**'
frr:
- 'scripts/package-build/frr/**'
frr_exporter:
- 'scripts/package-build/frr_exporter/**'
hostap:
- 'scripts/package-build/hostap/**'
hsflowd:
- 'scripts/package-build/hsflowd/**'
isc-dhcp:
- 'scripts/package-build/isc-dhcp/**'
keepalived:
- 'scripts/package-build/keepalived/**'
libnss-mapuser:
- 'scripts/package-build/libnss-mapuser/**'
libpam-radius-auth:
- 'scripts/package-build/libpam-radius-auth/**'
linux-kernel:
- 'data/defaults.toml'
- 'scripts/package-build/linux-kernel/**'
ndppd:
- 'scripts/package-build/ndppd/**'
net-snmp:
- 'scripts/package-build/net-snmp/**'
netfilter:
- 'scripts/package-build/netfilter/**'
node_exporter:
- 'scripts/package-build/node_exporter/**'
openvpn-otp:
- 'scripts/package-build/openvpn-otp/**'
owamp:
- 'scripts/package-build/owamp/**'
pam_tacplus:
- 'scripts/package-build/pam_tacplus/**'
podman:
- 'scripts/package-build/podman/**'
pyhumps:
- 'scripts/package-build/pyhumps/**'
radvd:
- 'scripts/package-build/radvd/**'
strongswan:
- 'scripts/package-build/strongswan/**'
tacacs:
- 'scripts/package-build/tacacs/**'
telegraf:
- 'scripts/package-build/telegraf/**'
udp-broadcast-relay:
- 'scripts/package-build/udp-broadcast-relay/**'
unionfs-fuse:
- 'scripts/package-build/unionfs-fuse/**'
vpp:
- 'scripts/package-build/vpp/**'
waagent:
- 'scripts/package-build/waagent/**'
wide-dhcpv6:
- 'scripts/package-build/wide-dhcpv6/**'
xen-guest-agent:
- 'scripts/package-build/xen-guest-agent/**'
zerotier-one:
- 'scripts/package-build/zerotier-one/**'
- name: Trigger builds for changed packages
run: |
set -eux
function trigger_build() {
PACKAGE_NAME=$1
echo "${PACKAGE_NAME} change detected!"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ secrets.REMOTE_OWNER }}/${{ secrets.REMOTE_REUSE_REPO }}/actions/workflows/build-package.yml/dispatches \
-d '{"ref": "${{ env.REF }}", "inputs":{"package_name":"'"$PACKAGE_NAME"'", "gpg_key_id": "${{ secrets.GPG_KEY_ID }}", "package_branch": "${{ github.ref_name }}", "pat": "${{ secrets.PAT }}"}}'
}
# Trigger builds based on detected changes
if [ "${{ steps.changes.outputs.amazon-cloudwatch-agent }}" == "true" ]; then
trigger_build "amazon-cloudwatch-agent"
fi
if [ "${{ steps.changes.outputs.amazon-ssm-agent }}" == "true" ]; then
trigger_build "amazon-ssm-agent"
fi
if [ "${{ steps.changes.outputs.aws-gwlbtun }}" == "true" ]; then
trigger_build "aws-gwlbtun"
fi
if [ "${{ steps.changes.outputs.bash-completion }}" == "true" ]; then
trigger_build "bash-completion"
fi
if [ "${{ steps.changes.outputs.blackbox_exporter }}" == "true" ]; then
trigger_build "blackbox_exporter"
fi
if [ "${{ steps.changes.outputs.ddclient }}" == "true" ]; then
trigger_build "ddclient"
fi
if [ "${{ steps.changes.outputs.dropbear }}" == "true" ]; then
trigger_build "dropbear"
fi
if [ "${{ steps.changes.outputs.ethtool }}" == "true" ]; then
trigger_build "ethtool"
fi
if [ "${{ steps.changes.outputs.frr }}" == "true" ]; then
trigger_build "frr"
fi
if [ "${{ steps.changes.outputs.frr_exporter }}" == "true" ]; then
trigger_build "frr_exporter"
fi
if [ "${{ steps.changes.outputs.hostap }}" == "true" ]; then
trigger_build "hostap"
fi
if [ "${{ steps.changes.outputs.hsflowd }}" == "true" ]; then
trigger_build "hsflowd"
fi
if [ "${{ steps.changes.outputs.isc-dhcp }}" == "true" ]; then
trigger_build "isc-dhcp"
fi
if [ "${{ steps.changes.outputs.keepalived }}" == "true" ]; then
trigger_build "keepalived"
fi
if [ "${{ steps.changes.outputs.libnss-mapuser }}" == "true" ]; then
trigger_build "libnss-mapuser"
fi
if [ "${{ steps.changes.outputs.libpam-radius-auth }}" == "true" ]; then
trigger_build "libpam-radius-auth"
fi
if [ "${{ steps.changes.outputs.linux-kernel }}" == "true" ]; then
trigger_build "linux-kernel"
fi
if [ "${{ steps.changes.outputs.ndppd }}" == "true" ]; then
trigger_build "ndppd"
fi
if [ "${{ steps.changes.outputs.net-snmp }}" == "true" ]; then
trigger_build "net-snmp"
fi
if [ "${{ steps.changes.outputs.netfilter }}" == "true" ]; then
trigger_build "netfilter"
fi
if [ "${{ steps.changes.outputs.node_exporter }}" == "true" ]; then
trigger_build "node_exporter"
fi
if [ "${{ steps.changes.outputs.openvpn-otp }}" == "true" ]; then
trigger_build "openvpn-otp"
fi
if [ "${{ steps.changes.outputs.owamp }}" == "true" ]; then
trigger_build "owamp"
fi
if [ "${{ steps.changes.outputs.pam_tacplus }}" == "true" ]; then
trigger_build "pam_tacplus"
fi
if [ "${{ steps.changes.outputs.podman }}" == "true" ]; then
trigger_build "podman"
fi
if [ "${{ steps.changes.outputs.pyhumps }}" == "true" ]; then
trigger_build "pyhumps"
fi
if [ "${{ steps.changes.outputs.radvd }}" == "true" ]; then
trigger_build "radvd"
fi
if [ "${{ steps.changes.outputs.strongswan }}" == "true" ]; then
trigger_build "strongswan"
fi
if [ "${{ steps.changes.outputs.tacacs }}" == "true" ]; then
trigger_build "tacacs"
fi
if [ "${{ steps.changes.outputs.telegraf }}" == "true" ]; then
trigger_build "telegraf"
fi
if [ "${{ steps.changes.outputs.udp-broadcast-relay }}" == "true" ]; then
trigger_build "udp-broadcast-relay"
fi
if [ "${{ steps.changes.outputs.unionfs-fuse }}" == "true" ]; then
trigger_build "unionfs-fuse"
fi
if [ "${{ steps.changes.outputs.vpp }}" == "true" ]; then
trigger_build "vpp"
fi
if [ "${{ steps.changes.outputs.waagent }}" == "true" ]; then
trigger_build "waagent"
fi
if [ "${{ steps.changes.outputs.wide-dhcpv6 }}" == "true" ]; then
trigger_build "ethtool"
fi
if [ "${{ steps.changes.outputs.xen-guest-agent }}" == "true" ]; then
trigger_build "xen-guest-agent"
fi
if [ "${{ steps.changes.outputs.zerotier-one }}" == "true" ]; then
trigger_build "zerotier-one"
fi

9
.gitignore vendored
View File

@ -1,15 +1,8 @@
.build/config
build/*
config/*
*.pyc
packer_build/*
packer_cache/*
key/*
packages/*
!packages/*/
/testinstall*.img
/testinstall*.efivars
/*.qcow2
/*.tar
.DS_Store
._.DS_Store
testinstall*.img

View File

@ -1,2 +0,0 @@
# Users from reviewers github team
# * @vyos/reviewers

View File

@ -40,7 +40,7 @@ task first. Once there is an entry in Phabricator, you should reference its id
in your commit message, as shown below:
* `ddclient: T1030: auto create runtime directories`
* `keepalived: T1234: do not autostart service, will be done by CLI`
* `Jenkins: add current Git commit ID to build description`
If there is no [Phabricator](https://vyos.dev) reference in the
commits of your pull request, we have to ask you to amend the commit message.

206
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,206 @@
#!/usr/bin/env groovy
// Copyright (C) 2019-2021 VyOS maintainers and contributors
//
// This program is free software; you can redistribute it and/or modify
// in order to easy exprort images built to "external" world
// it under the terms of the GNU General Public License version 2 or later as
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
@NonCPS
// Using a version specifier library, use 'current' branch. The underscore (_)
// is not a typo! You need this underscore if the line immediately after the
// @Library annotation is not an import statement!
@Library('vyos-build@equuleus')_
setDescription()
node('Docker') {
stage('Setup Container') {
script {
// create container name on demand
def branchName = getGitBranchName()
// Adjust PR target branch name so we can re-map it to the proper Docker image.
if (isPullRequest())
branchName = env.CHANGE_TARGET.toLowerCase()
if (branchName.equals('master'))
branchName = 'current'
env.DOCKER_IMAGE = 'vyos/vyos-build:' + branchName
// Get the current UID and GID from the jenkins agent to allow use of the same UID inside Docker
env.USR_ID = sh(returnStdout: true, script: 'id -u').toString().trim()
env.GRP_ID = sh(returnStdout: true, script: 'id -g').toString().trim()
env.DOCKER_ARGS = '--privileged --sysctl net.ipv6.conf.lo.disable_ipv6=0 -e GOSU_UID=' + env.USR_ID + ' -e GOSU_GID=' + env.GRP_ID
env.BASE_VERSION = '1.3-stable-'
}
}
}
pipeline {
agent {
docker {
label "Docker"
args "${env.DOCKER_ARGS}"
image "${env.DOCKER_IMAGE}"
alwaysPull true
reuseNode true
}
}
triggers {
cron('H 4 * * *')
}
parameters {
string(name: 'BUILD_BY', defaultValue: 'autobuild@vyos.net', description: 'Builder identifier (e.g. jrandomhacker@example.net)')
string(name: 'BUILD_VERSION', defaultValue: env.BASE_VERSION + 'ISO8601-TIMESTAMP', description: 'Version number (release builds only)')
booleanParam(name: 'BUILD_PUBLISH', defaultValue: false, description: 'Publish this build to downloads.vyos.io and AWS S3')
booleanParam(name: 'BUILD_SMOKETESTS', defaultValue: true, description: 'Include Smoketests in ISO image')
booleanParam(name: 'BUILD_SNAPSHOT', defaultValue: false, description: 'Upload image to AWS S3 snapshot bucket')
}
options {
disableConcurrentBuilds()
timeout(time: 180, unit: 'MINUTES')
timestamps()
buildDiscarder(logRotator(numToKeepStr: '20'))
}
stages {
stage('Build ISO') {
when {
beforeOptions true
beforeAgent true
// Only run ISO image build process of explicit user request or
// once a night triggered by the timer.
anyOf {
triggeredBy 'TimerTrigger'
triggeredBy cause: "UserIdCause"
}
}
steps {
script {
// Display Git commit Id used with the Jenkinsfile on the Job "Build History" pane
def commitId = sh(returnStdout: true, script: 'git rev-parse --short=11 HEAD').trim()
currentBuild.description = sprintf('Git SHA1: %s', commitId[-11..-1])
def CUSTOM_PACKAGES = ''
if (params.BUILD_SMOKETESTS)
CUSTOM_PACKAGES = '--custom-package vyos-1x-smoketest'
def VYOS_VERSION = params.BUILD_BY
if (params.BUILD_VERSION == env.BASE_VERSION + 'ISO8601-TIMESTAMP')
VYOS_VERSION = env.BASE_VERSION + sh(returnStdout: true, script: 'date -u +%Y%m%d%H%M').toString().trim()
sh """
./configure \
--build-by "${params.BUILD_BY}" \
--debian-mirror http://deb.debian.org/debian/ \
--build-type release \
--version "${VYOS_VERSION}" ${CUSTOM_PACKAGES}
sudo make iso
"""
if (fileExists('build/live-image-amd64.hybrid.iso') == false) {
error('ISO build error')
}
}
}
}
stage('Test') {
when {
expression { return params.BUILD_SMOKETESTS }
}
parallel {
stage('Smoketests') {
when {
expression { fileExists 'build/live-image-amd64.hybrid.iso' }
}
steps {
sh "sudo make test"
}
}
stage('Smoketests with vyos-configd and arbitrary config loader') {
when {
expression { fileExists 'build/live-image-amd64.hybrid.iso' }
}
steps {
sh "sudo make testc"
}
}
stage('Smoketests for RAID-1 system installation') {
when {
expression { fileExists 'build/live-image-amd64.hybrid.iso' }
}
steps {
sh "sudo make testraid"
}
}
}
}
}
post {
always {
archiveArtifacts artifacts: '**/build/vyos-*.iso, **/build/vyos-*.qcow2',
allowEmptyArchive: true
}
success {
script {
// only deploy ISO if build from official repository
if (isCustomBuild())
return
// only deploy ISO if requested via parameter
if (! params.BUILD_PUBLISH)
return
files = findFiles(glob: 'build/vyos*.iso')
// Publish ISO image to daily builds bucket
if (files) {
// Publish ISO image to snapshot bucket
if (files && params.BUILD_SNAPSHOT) {
withAWS(region: 'us-east-1', credentials: 's3-vyos-downloads-rolling-rw') {
s3Upload(bucket: 's3-us.vyos.io', path: 'snapshot/' + params.BUILD_VERSION + '/', workingDir: 'build', includePathPattern: 'vyos*.iso')
}
} else {
// Publish build result to AWS S3 rolling bucket
withAWS(region: 'us-east-1', credentials: 's3-vyos-downloads-rolling-rw') {
s3Upload(bucket: 's3-us.vyos.io', path: 'rolling/' + getGitBranchName() + '/',
workingDir: 'build', includePathPattern: 'vyos*.iso')
s3Copy(fromBucket: 's3-us.vyos.io', fromPath: 'rolling/' + getGitBranchName() + '/' + files[0].name,
toBucket: 's3-us.vyos.io', toPath: getGitBranchName() + '/vyos-rolling-latest.iso')
}
}
// Trigger GitHub action which will re-build the static community website which
// also holds the AWS download links to the generated ISO images
withCredentials([string(credentialsId: 'GitHub-API-Token', variable: 'TOKEN')]) {
sh '''
curl -X POST --header "Accept: application/vnd.github.v3+json" \
--header "authorization: Bearer $TOKEN" --data '{"ref": "production"}' \
https://api.github.com/repos/vyos/community.vyos.net/actions/workflows/main.yml/dispatches
'''
}
}
// Publish ISO image to snapshot bucket
if (files && params.BUILD_SNAPSHOT) {
withAWS(region: 'us-east-1', credentials: 's3-vyos-downloads-rolling-rw') {
s3Upload(bucket: 's3-us.vyos.io', path: 'snapshot/',
workingDir: 'build', includePathPattern: 'vyos*.iso')
}
}
}
}
cleanup {
echo 'One way or another, I have finished'
// the 'build' directory got elevated permissions during the build
// cdjust permissions so it can be cleaned up by the regular user
sh 'sudo make purge'
deleteDir() /* cleanup our workspace */
}
}
}

65
Jenkinsfile.docker Normal file
View File

@ -0,0 +1,65 @@
#!/usr/bin/env groovy
// Copyright (C) 2019-2021 VyOS maintainers and contributors
//
// This program is free software; you can redistribute it and/or modify
// in order to easy exprort images built to "external" world
// it under the terms of the GNU General Public License version 2 or later as
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
@NonCPS
// Using a version specifier library, use 'current' branch. The underscore (_)
// is not a typo! You need this underscore if the line immediately after the
// @Library annotation is not an import statement!
@Library('vyos-build@equuleus')_
setDescription()
pipeline {
agent none
options {
disableConcurrentBuilds()
timeout(time: 240, unit: 'MINUTES')
timestamps()
buildDiscarder(logRotator(numToKeepStr: '20'))
}
stages {
stage('Build containers') {
when {
beforeOptions true
beforeAgent true
// Only run ISO image build process of explicit user request or
// once a night triggered by the timer.
anyOf {
changeset pattern: "**/docker/*"
changeset pattern: "**/Jenkinsfile.docker"
triggeredBy cause: "UserIdCause"
}
}
parallel {
stage('x86_64') {
agent {
label "ec2_amd64"
}
steps {
script {
DOCKER_IMAGE = "vyos/vyos-build:" + getGitBranchName()
sh "docker build --no-cache --tag ${DOCKER_IMAGE} docker"
if (! isCustomBuild()) {
withDockerRegistry([credentialsId: "DockerHub"]) {
sh "docker push ${DOCKER_IMAGE}"
}
}
}
}
}
}
}
}
}

View File

@ -29,4 +29,4 @@ that is, replace all artwork files that contain the VyOS logo and all end-user-v
VyOS is a registered trademarks in the United States, countries of the European Union, and other countries.
The copyright to the artwork files that contain the VyOS logo, such as data/live-build-config/includes.binary/isolinux/splash.png
belongs to Sentrium S.L. and affiliated, all rights reserved.
belongs to Sentrium S.L. and affiliated, all rights reserved.

314
Makefile
View File

@ -1,14 +1,265 @@
SHELL := /bin/bash
build_dir := build
SHELL := /bin/bash
.PHONY: all
all:
@echo "Make what specifically?"
@echo "The most common target is 'generic'"
@echo "The most common target is 'iso'"
%:
./build-vyos-image $*
.PHONY: check_build_config
check_build_config:
@scripts/check-config
.PHONY: prepare
prepare:
@set -e
@echo "Starting VyOS ISO image build"
rm -rf build/config/*
mkdir -p build/config
cp -r data/live-build-config/* build/config/
@scripts/live-build-config
@scripts/import-local-packages
@scripts/make-version-file
@scripts/build-flavour
.PHONY: iso
.ONESHELL:
iso: check_build_config clean prepare
@echo "It's not like I'm building this specially for you or anything!"
cd $(build_dir)
set -o pipefail
lb build 2>&1 | tee build.log; if [ $$? -ne 0 ]; then exit 1; fi
cd ..
@scripts/copy-image
exit 0
.PHONY: prepare-package-env
.ONESHELL:
prepare-package-env:
@set -e
@scripts/pbuilder-config
@scripts/pbuilder-setup
.PHONY: qemu
.ONESHELL:
qemu:
@set -e
@scripts/check-vm-build-env
@scripts/build-qemu-image
.PHONY: vagrant-libvirt
.ONESHELL:
vagrant-libvirt:
@set -e
@scripts/check-vm-build-env
@scripts/build-vagrant-libvirt-box
.PHONY: vmware
.ONESHELL:
vmware: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
cp tools/cloud-init/vmware/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/vmware/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
@../scripts/build-vmware-image
.PHONY: hyperv
.ONESHELL:
hyperv:
@set -e
@scripts/check-vm-build-env
@scripts/build-hyperv-image
.PHONY: clearfog
.ONESHELL:
clearfog: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
cd $(build_dir)
@../scripts/build-clearfog-image
.PHONY: azure
.ONESHELL:
azure: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
cp tools/cloud-init/azure/99-walinuxagent.chroot build/config/hooks/live/
cp tools/cloud-init/azure/vyos-azure.list.chroot build/config/package-lists/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/azure/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
@../scripts/build-azure-image
.PHONY: GCE
.ONESHELL:
GCE: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
cp tools/cloud-init/GCE/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/GCE/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
@../scripts/build-GCE-image
.PHONY: GCE-debug
.ONESHELL:
GCE-debug: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
cp tools/cloud-init/99-debug-user.chroot build/config/hooks/live/
cp tools/cloud-init/GCE/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/GCE/config.boot.default-debug build/config/includes.chroot/opt/vyatta/etc/config.boot.default
cd $(build_dir)
@../scripts/build-GCE-image
.PHONY: AWS
.ONESHELL:
AWS: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
cp tools/cloud-init/AWS/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/AWS/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/AWS/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
lb build 2>&1 | tee build.log
cd ..
@scripts/copy-image
.PHONY: openstack
.ONESHELL:
openstack: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
cp tools/cloud-init/openstack/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/openstack/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
lb build 2>&1 | tee build.log
cd ..
@scripts/copy-image
.PHONY: oracle
.ONESHELL:
oracle: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
cp tools/cloud-init/OCI/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/OCI/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
@../scripts/build-oracle-image
.PHONY: PACKET
.ONESHELL:
PACKET: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
cp tools/cloud-init/99-disable-networking.chroot build/config/hooks/live/
cp tools/cloud-init/PACKET/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/PACKET/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
lb build 2>&1 | tee build.log
cd ..
@scripts/copy-image
.PHONY: PACKET-debug
.ONESHELL:
PACKET-debug: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
cp tools/cloud-init/99-debug-user.chroot build/config/hooks/live/
cp tools/cloud-init/99-disable-networking.chroot build/config/hooks/live/
cp tools/cloud-init/PACKET/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/PACKET/config.boot.default-debug build/config/includes.chroot/opt/vyatta/etc/config.boot.default
cd $(build_dir)
lb build 2>&1 | tee build.log
cd ..
@scripts/copy-image
.PHONY: vep4600
.ONESHELL:
vep4600: check_build_config clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/systemd/network
mkdir -p build/config/includes.chroot/usr/share/initramfs-tools/hooks
cp tools/dell/90-vep.chroot build/config/hooks/live/
cp tools/dell/vep4600/*.link build/config/includes.chroot/etc/systemd/network/
cp tools/dell/vep-hook build/config/includes.chroot/usr/share/initramfs-tools/hooks/
cd $(build_dir)
lb build 2>&1 | tee build.log
cd ..
@scripts/copy-image
.PHONY: vep1400
.ONESHELL:
vep1400: check_build_config clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/etc/systemd/network
mkdir -p build/config/includes.chroot/usr/share/initramfs-tools/hooks
cp tools/dell/90-vep.chroot build/config/hooks/live/
cp tools/dell/vep1400/*.link build/config/includes.chroot/etc/systemd/network/
cp tools/dell/vep-hook build/config/includes.chroot/usr/share/initramfs-tools/hooks/
cd $(build_dir)
lb build 2>&1 | tee build.log
cd ..
@scripts/copy-image
.PHONY: edgecore
.ONESHELL:
edgecore: check_build_config clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/lib/udev/rules.d/
cp tools/vendors_udev/64-vyos-SAF51015I-net.rules build/config/includes.chroot/lib/udev/rules.d/
cp tools/vendors_udev/64-vyos-SAF51003I-net.rules build/config/includes.chroot/lib/udev/rules.d/
cd $(build_dir)
lb build 2>&1 | tee build.log
cd ..
@scripts/copy-image
.PHONY: aaeon
.ONESHELL:
aaeon: check_build_config clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
mkdir -p build/config/includes.chroot/lib/udev/rules.d/
cp tools/vendors/aaeon/64-vyos-aaeon*net.rules build/config/includes.chroot/lib/udev/rules.d/
cd $(build_dir)
lb build 2>&1 | tee build.log
cd ..
@scripts/copy-image
.PHONY: xcp-ng-iso
.ONESHELL:
xcp-ng-iso: check_build_config clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
sed -i 's/vyos-xe-guest-utilities/xe-guest-utilities/g' $(build_dir)/config/package-lists/vyos-x86.list.chroot
cd $(build_dir)
set -o pipefail
lb build 2>&1 | tee build.log; if [ $$? -ne 0 ]; then exit 1; fi
cd ..
@scripts/copy-image
exit 0
.PHONY: checkiso
.ONESHELL:
@ -21,75 +272,39 @@ checkiso:
.PHONY: test
.ONESHELL:
test: checkiso
scripts/check-qemu-install --debug --configd --match="$(MATCH)" --smoketest --uefi --cpu 4 --memory 8 build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
scripts/check-qemu-install --debug --uefi build/live-image-amd64.hybrid.iso
.PHONY: test-no-interfaces
.ONESHELL:
test-no-interfaces: checkiso
scripts/check-qemu-install --debug --configd --smoketest --uefi --no-interfaces --cpu 4 --memory 8 --huge-page-size 2M --huge-page-count 1800 build/live-image-amd64.hybrid.iso
scripts/check-qemu-install --debug --no-interfaces build/live-image-amd64.hybrid.iso
.PHONY: test-no-interfaces-no-vpp
.PHONY: testd
.ONESHELL:
test-no-interfaces-no-vpp: checkiso
scripts/check-qemu-install --debug --configd --smoketest --uefi --no-interfaces --no-vpp build/live-image-amd64.hybrid.iso
.PHONY: test-interfaces
.ONESHELL:
test-interfaces: checkiso
scripts/check-qemu-install --debug --configd --match="interfaces_" --smoketest --uefi build/live-image-amd64.hybrid.iso
.PHONY: test-vpp
.ONESHELL:
test-vpp: checkiso
scripts/check-qemu-install --debug --configd --match="vpp" --smoketest --uefi --cpu 4 --memory 8 --huge-page-size 2M --huge-page-count 1800 build/live-image-amd64.hybrid.iso
testd: checkiso
scripts/check-qemu-install --debug --configd build/live-image-amd64.hybrid.iso
.PHONY: testc
.ONESHELL:
testc: checkiso
scripts/check-qemu-install --debug --configd --match="!vpp" --cpu 2 --memory 7 --configtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
.PHONY: testcvpp
.ONESHELL:
testcvpp: checkiso
scripts/check-qemu-install --debug --configd --match="vpp" --cpu 4 --memory 8 --huge-page-size 2M --huge-page-count 1800 --configtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso
.PHONY: testraid
.ONESHELL:
testraid: checkiso
scripts/check-qemu-install --debug --configd --raid build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
.PHONY: testsb
.ONESHELL:
testsb: checkiso
scripts/check-qemu-install --debug --uefi --sbtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
.PHONY: testtpm
.ONESHELL:
testtpm: checkiso
scripts/check-qemu-install --debug --tpmtest build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
.PHONY: qemu-live
.ONESHELL:
qemu-live: checkiso
scripts/check-qemu-install --qemu-cmd --uefi build/live-image-amd64.hybrid.iso $(filter-out $@,$(MAKECMDGOALS))
.PHONY: oci
.ONESHELL:
oci: checkiso
scripts/iso-to-oci build/live-image-amd64.hybrid.iso
scripts/check-qemu-install --debug --configd --raid --configtest build/live-image-amd64.hybrid.iso
.PHONY: clean
.ONESHELL:
clean:
@set -e
mkdir -p $(build_dir)
cd $(build_dir)
lb clean
rm -f config/binary config/bootstrap config/chroot config/common config/source
rm -f build.log
rm -f vyos-*.iso
rm -f *.img *.efivars
rm -f *.img
rm -f *.xz
rm -f *.vhd
rm -f *.raw
@ -98,6 +313,7 @@ clean:
rm -f *.mf
rm -f *.ovf
rm -f *.ova
rm -f *.vmdk
.PHONY: purge
purge:

View File

@ -8,10 +8,14 @@ For the most up-to-date documentation, please read the online build guide at
VyOS is an open source operating system for network devices (routers, firewalls
and so on). If you want to use it in your network, check out download and
installation instructions at https://docs.vyos.io/en/latest/installation/index.html
installation instructions at https://vyos.io
If you want to modify VyOS and/or join its development, read on.
VyOS is not new. It is a fork of Vyatta Core that was created when the open
source version of it was discontinued. If you are a Vyatta Core user, you can
upgrade your installation to VyOS.
# About this repository
VyOS is a GNU/Linux distribution based on Debian. Just like any other
@ -33,13 +37,15 @@ There are several directories with their own purpose:
* `build/` Used for temporary files used for the build and for build artifacts
* `data/` Data required for building the ISO (e.g. boot splash/configs)
* `packages/` This directory can hold arbitrary *.deb
packages which will be embeded into the resulting ISO.
* `packages/` This directory has two meanings. First it can hold arbitrary *.deb
packages which will be embeded into the resulting ISO, but it also
holds Jenkins Pipeline definitions for required VyOS packages.
Among other things those packages will be: Linux Kernel, FRR,
Netfiler...
* `scripts/` Scripts that are used for the build process
* `tools/` Scripts that are used for maintainer's tasks automation and other
purposes, but not during ISO build process
* `vars/` Jenkins Pipeline library for reusable functions
# Building VyOS
@ -49,21 +55,27 @@ be found in our [Documentation - Build VyOS](https://docs.vyos.io/en/latest/cont
# Development Branches
The default branch that contains the most recent VyOS code is called `current`.
We may or may not eventually switch to `main`.
The default branch that contains the most recent VyOS code is called `current`
rather than `master`. We know it's confusing, but it's not easy to fix. In a
nutshell, the code we inherited from Vyatta Core had its `master` branch so out
of sync with everything it was beyond any repair. Vyatta developers used to create
a new branch not when a release is ready for code freeze, but rather before
starting to work on a new release. This is hard to change in existing code, so
this is just the way it is, for now.
All new code goes to the `current` branch. When a new LTS release is ready for feature freeze, a
All new code goes to the `current` branch. When it's time for a code freeze, a
new branch is created for the release, and new code from `current` is backported
to the release branch as needed.
Post-1.2.0 branches are named after constellations sorted by area from smallest
to largest. There are 88 of them, here's the
[complete list](https://en.wikipedia.org/wiki/IAU_designated_constellations_by_area).
In packages that originate from VyOS the master branch is kept in sync with
`current`, but we still use `current` as default branch for uniformity. When the
last legacy package is gone, we will switch to using the `master` branch and
retire `current`.
Existing branches:
Post-1.2.0 branches are named after constellations sorted by area from smallest to largest.
There are 88 of them, here's the [complete list](https://en.wikipedia.org/wiki/IAU_designated_constellations_by_area).
* VyOS 1.4: `sagitta` (Arrow) [LTS]
* VyOS 1.3: `equuleus` (Little Horse) [LTS]
* VyOS 1.2: `crux` (Southern Cross) [Unsupported]
The next LTS release will be VyOS 1.5 `circinus` (Compasses).
* 1.2.x: `crux` (Southern Cross)
* 1.3.x: `equuleus` (Little Horse)
* 1.4.x: `sagitta` (Arrow)
* ...

View File

@ -1 +0,0 @@
scripts/image-build/build-vyos-image

1
configure vendored Symbolic link
View File

@ -0,0 +1 @@
scripts/build-config

View File

@ -1,26 +0,0 @@
# Packages added to images for x86 by default
packages = [
"grub2",
"grub-pc",
"vyos-drivers-realtek-r8152",
"vyos-linux-firmware",
"vyos-intel-qat",
"vyos-intel-ixgbe",
"vyos-intel-ixgbevf",
"vyos-ipt-netflow",
"intel-microcode",
"amd64-microcode"
]
[additional_repositories.salt]
architecture = "amd64"
url = "https://packages.vyos.net/saltproject/debian/11/amd64/3005"
distribution = "bullseye"
[additional_repositories.zabbix]
url = "https://repo.zabbix.com/zabbix/6.0/debian"
[additional_repositories.kea]
architecture = "amd64"
url = "https://dl.cloudsmith.io/public/isc/kea-3-0/deb/debian"
distribution = "bookworm"

View File

@ -1,19 +0,0 @@
# Packages included in ARM64 images by default
packages = [
"grub-efi-arm64",
]
bootloaders = "grub-efi"
squashfs_compression_type = "xz -b 256k -always-use-fragments -no-recovery"
[additional_repositories.salt]
architecture = "arm64"
url = "https://packages.vyos.net/saltproject/debian/11/arm64/3005"
distribution = "bullseye"
[additional_repositories.zabbix]
url = "https://repo.zabbix.com/zabbix/6.0/debian-arm64"
[additional_repositories.kea]
architecture = "arm64"
url = "https://dl.cloudsmith.io/public/isc/kea-3-0/deb/debian"
distribution = "bookworm"

View File

@ -1,6 +0,0 @@
additional_repositories = [
"deb [arch=armhf] https://packages.vyos.net/saltproject/debian/11/arm64/3005 bullseye main"
]
# Packages included in armhf images by default
packages = ["grub-efi-arm"]

View File

@ -1,3 +0,0 @@
# Generic (aka "universal") ISO image
image_format = "iso"

View File

@ -1,78 +0,0 @@
packages = [
"gdb",
"strace",
"apt-rdepends",
"tshark",
"vim",
"vyos-1x-smoketest"
]
[[includes_chroot]]
path = 'usr/share/vyos/EULA'
data = '''
VyOS ROLLING RELEASE END USER LICENSE AGREEMENT
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE INSTALLING AND/OR USING VyOS ROLLING RELEASE.
IF YOU DO NOT ACCEPT THE TERMS OF THIS AGREEMENT, THEN YOU MUST NOT USE VyOS ROLLING RELEASE.
I. This End-User License Agreement (Agreement) is a legal document between you and VyOS Inc.
(a company organized and existing under the laws of California,
having its registered office at 12585 Kirkham Ct, Suite 1, Poway, California 92604)
that governs your use of VyOS Rolling Release, available at vyos.io website.
II. By downloading, installing and using VyOS Rolling Release you:
- irrevocably agree to comply with all applicable laws, restrictions,
regulations, rules, the GNU GPL and other applicable licenses, and with this Agreement;
- confirm you have all legal rights to enter into this Agreement
and your authority is not limited by any legal means;
- obligate to certainly, indisputably and immediately
(but in any case at the first request of the VyOS Inc.)
compensate for any damage, if such is caused to the VyOS Inc. by your actions;
- assure and enforce any third party you grant access to Rolling Release
will bear the same amount of obligations.
For the purpose of this Agreement such third party will be referred to also as you.
III. VyOS Rolling Release (Rolling Release) are copyrighted works
released under the terms of the GNU General Public License (GPL)
and other licenses approved by the Open Source Initiative (www.opensource.org),
(hereinafter, the Public Licenses).
Verbatim copies of such works may be made and distributed, by anyone,
in accordance with the terms of the GPL and the Public Licenses.
The GPL and the Public Licenses also grant you certain rights
to make and distribute derivative works based on the source code to Rolling Release.
You can redistribute and/or modify the Rolling Release under the terms of the GPL and the Public Licenses.
You may obtain a copy of the source code corresponding to the binaries for the Rolling Release
from public Git repositories as https://github.com/vyos
The GPL and the Public Licenses do not grant you any right, license or interest to use VyOS trademarks and logos,
that are trademarks or registered trademarks in the US, EU and other countries,
in connection with these derivative works.
VyOS trademarks may not be used in connection with any such derivative works
unless that usage is explicitly and specifically permitted, in writing.
Otherwise, You must modify the files identifiable as VyOS logos and VyOS trademarks
so as to remove all use of images containing them.
Note that mere deletion of these files may corrupt the Rolling Release.
IV. Under no circumstances VyOS Inc. will be liable to you for any damages,
however caused or arising in any way out of the use of
or of inability to use the Rolling Release.
VyOS Inc. provides no warranty for Rolling Release.
V. This Agreement comes into force upon your acceptance in the form of downloading,
installing or using Rolling Release (whatever happens first) and remains valid until termination.
This Agreement shall terminate immediately if you violate any applicable law,
restriction, regulation, rule, GPL or other applicable license, or any provision of this Agreement.
Upon termination of this Agreement you shall discontinue to use Rolling Release
and delete it as well as all copies you made from all storage devices.
VI. This Agreement may be amended by VyOS Inc. at any time and brought to your attention
by publication on vyos.io website with enter into force immediately after such publication.
VII. This Agreement, and any dispute or claim arising out of or in connection with it,
shall be governed by, and construed in accordance with the laws of California.
The courts of California shall have exclusive jurisdiction to settle any dispute or claim.
For more information or any other query please contact VyOS Inc. at: legal@vyos.io
'''

View File

@ -1,441 +0,0 @@
[[includes_chroot]]
path = 'usr/share/vyos/EULA'
data = '''
VyOS END USER LICENSE AGREEMENT
PLEASE READ THIS END USER LICENSE AGREEMENT (EULA, THIS AGREEMENT') CAREFULLY
BEFORE USING VYOS FROM US. BY USING VYOS, YOU ("YOU", "LICENSEE", "CUSTOMER")
SIGNIFY YOUR ASSENT TO AND ACCEPTANCE OF THIS END USER LICENSE AGREEMENT AND
ACKNOWLEDGE YOU HAVE READ AND UNDERSTAND THE TERMS. THIS AGREEMENT IS
ENFORCEABLE AGAINST ANY PERSON OR ENTITY THAT USES THE SOFTWARE AND ANY PERSON
OR ENTITY (E.G., SYSTEMS INTEGRATOR, CONSULTANT OR CONTRACTOR) THAT USES THE
SOFTWARE ON ANOTHER PERSON'S OR ENTITY'S BEHALF. IF YOU DO NOT ACCEPT THE TERMS
OF THIS AGREEMENT, THEN YOU MUST NOT USE THE SOFTWARE. THE EFFECTIVE DATE OF
THIS AGREEMENT IS THE EARLIEST OF THE START DATE OF SERVICES STATED IN OUR
INVOICE, PREVIOUS ACCEPTANCE OF THIS AGREEMENT (OR OUR BUSINESS PARTNER'S ORDER
OR/AND INVOICE, PREVIOUS ACCEPTANCE OF THIS AGREEMENT) OR THE DATE THAT
CUSTOMER HAS ACCESS AND IS ABLE TO USE OUR PRODUCTS OR SERVICES. THIS END USER
LICENSE AGREEMENT DOES NOT COVER ANY SERVICES FROM US, OR THROUGH OUR BUSINESS
PARTNER, OTHER THAN ACCESS TO THE SOFTWARE, SUCH AS TECHNICAL SUPPORT, UPGRADES
OR SUPPORT SERVICES. PLEASE REVIEW YOUR SERVICES OR SUBSCRIPTION AGREEMENT(S)
THAT YOU MAY HAVE WITH US OR OTHER AUTHORIZED VYOS SERVICES PROVIDER OR
BUSINESS PARTNER REGARDING THE SOFTWARE AND SERVICES AND ASSOCIATED PAYMENTS.
1. Definitions
1.1 "We, Our, Us" means VyOS Contracting Entity defined in Section 13.
1.2 "VyOS" or "Software" means VyOS software provided by Us (or authorized
services provider or business partner) and consisting of VyOS software
application (exclusively or along with any third-party software included
therein or therewith) that includes or refers to this Agreement and any related
documentation (including, without limitation, user and technical documentation,
further explanatory written materials related to the Software, etc.), services
(including, without limitation, SaaS, internet-based service, etc.), tool,
application, component, object code, source code, appearance (including,
without limitation, images, designs, fonts, etc.), structure as well as any
modification
and update thereof, regardless of the delivery mechanism.
"Services" means software support services and any other services provided by
Us, or through Our Business Partner, on a subscription basis.
1.3 "Authorized Users" means employees or individual contractors to whom,
pursuant to this Agreement, the Licensee has granted a right to access and use
the Software with your credentials, provided that such access shall be for your
sole benefit and in full compliance with this EULA.
All Authorized Users are bound by the terms of this Agreement.
1.4 "Cloud Provider" means authorized hosting partner's cloud marketplace
platform, a company that delivers cloud computing based services, resources and
solutions to businesses and/or offers solutions via the cloud marketplace.
1.5 "Business Partner" shall mean Our authorized sales agent, partner, Cloud
Provider reseller or distributor of the Software and Our Services authorized to
sell Software and Services via our subscriptions. Purchases through or by a
Business Partner. In instances where Customer purchases through a Business
Partner, final prices and terms and conditions of sale will be as agreed
between Customer and the Business Partner from which Customer makes such
purchases; however, the terms set forth in this EULA are applicable to
Customer's use and the performance of VyOS. Customer acknowledges that:
(a) We may share information with the Business Partner related to Customer's
use and consumption of VyOS, and vice versa, for account management and
billing purposes;
(b) the termination provisions below will also apply if Customer's Business
Partner fails to pay Us applicable fees; and
(c) Business Partner is not authorized to make any changes to this EULA or
otherwise authorized to make any warranties, representations, promises or
commitments on Our behalf or in any way concerning the VyOS.
"Business Partner's order" means the ordering document(s), issued during Your
purchasing process by Our Business Partner in a way and manner as defined by
Our Business Partner. Business Partner's order may describe specific Software
and Services, Subscription(s), associated fees, payment terms, and shall be
subject to the terms of this Agreement and EULA.
1.6 "Customer", "You", "Licensee", "Your" - user of VyOS and its heirs, agents,
successors, assigns and - for the purpose of Global subscription - its
Affiliates.
2. License Grant
Subject to the following terms, We grant to You a perpetual, worldwide license
to the Software (most of which includes multiple software components) pursuant
to different open sourced and public licenses. The license agreement for each
software component is located in the software component's source code and
permits you to run, copy, modify, and redistribute the software component
(subject to certain obligations in some cases), both in source code and binary
code forms, with the exception of the images identified in Section 4 below. You
shall either agree to the terms of each applicable public license or You must
not install/use those components or exercise such licensed rights.
This EULA pertains solely to the Software and does not limit your rights under,
or grant you rights that supersede, the license terms of any particular
component.
2.1 Limited Modifications. For the avoidance of doubt, Licensee is permitted to
use VyOS from Us in accordance with VyOS terms and conditions and on the
specific quotation, purchase order and/or the subscription or customized
agreements, if any. Any other modifications of VyOS terms and conditions won't
be allowed, except as expressly authorized through a separate custom agreement,
unless otherwise defined by this Agreement, specific quotation, purchase order
and/or the subscription or customized agreements.
2.2 No Unbundling. Nonetheless, the Software is designed and provided to
Licensee solely as permitted herein. Licensee shall not unbundle or repackage
the Software for distribution, transfer or other disposition, unless otherwise
specified by this Agreement.
3. Prohibited Use and Allowed Use
3.1 Except as expressly authorized through a separate custom agreement,
Licensee and the Authorized Users are prohibited from:
(a) using the Software on behalf of third parties;
(b) sublicensing, licensing, renting, leasing, lending or granting other rights
in the Software including rights on a membership or subscription basis;
(c) providing use of the Software in a service bureau arrangement, outsourcing
or on a time sharing basis;
(d) interfere with or disrupt the Software or systems used to provide the VyOS
or other equipment or networks connected;
(e) circumvent or disclose the user authentication or security of the Software
or any host, network, or account related thereto or attempt to gain
unauthorized access;
(f) store or transmit SPAM or malicious code;
(g) duplicate the Software or publish the Software for others to copy;
(h) infringe the intellectual property rights of any entity or person; or
(i) make any use of the Software that violates any applicable local, state,
national, international or foreign law or regulation.
For more information about how to obtain a custom agreement, please contact us
at: sales@vyos.io.
3.2 The following uses of the Software shall be allowed:
(a) any lab setup within the Licensee or on an Authorized User's personal
device, for the purpose of learning, testing, or debugging company network
configs, and
(b) any use in Authorized User's personal home networks, including but not
limited to Internet access, corporate VPN access, learning and
experimentation.
4. Intellectual Property Rights
The Software and each of their components are owned by Us and other licensors
and are protected under copyright law and other laws as applicable. Title to
the Software and any component and systems, or to any copy or modification
shall remain with Us and other licensors, subject to the applicable license.
The "VyOS" mark, the individual Software marks, and the "VyOS" logo are
trademarks or registered trademarks in the EU, US and other countries. Artwork
files that feature the VyOS logo, including but not limited to boot splash
images and user interface elements, are Our property, distributed on the "all
rights reserved" basis. You cannot redistribute those files separately or as
part of Software without an express permission from the copyright holder. By
accepting this Agreement You commit not to register or request registration of
any commercial name, domain name, email, trademark, symbol or distinctive;
sign, with similar characteristics, color, typography, style or appearance or
that includes the word "VyOS" or/and VyOS logo.
This EULA does not permit you to distribute the Software using VyOS trademarks,
regardless of whether the Software has been modified. You may make a commercial
redistribution of the Software only if
(a) permitted under a separate written agreement with Us authorizing such
commercial redistribution or
(b) you remove and replace all Our occurrences and VyOS trademarks and logos.
Modifications to the software may corrupt the Software.
4.1 The Licensee grants Us a right to use its logos and trademarks for the
purpose of displaying their Licensee status on the VyOS website, and for the
purposes specified in VyOS Subscription Agreement. We will not claim that the
Licensee endorses VyOS and will not publicize any details of Licensee's VyOS
usage, network setup, or any other information not explicitly provided by the
Licensee for public release.
4.1.1 The Licensee can revoke Our right to use Licensee's trademarks and logos
at any time, unless otherwise agreed in VyOS Subscription Agreement, or Our
Quotation.
5. Updates
Along with all software update subscriptions, We provide security updates,
hot-fixes and security advisory notifications before public disclosure
(herein after collectively referred to as the "Updates"). You expressly
acknowledge and agree that We have no obligation to make available and/or
provide any Updates. All upgrades and Updates are provided by Us or through
Our Business Partners to Licensee at Our sole discretion and are subject to
the terms of this Agreement on a license exchange basis. Any obligations that
We may have to support previous versions during the license term may end upon
the availability of this update. Upgrades and Updates may be licensed to
Licensee by Us with additional or different terms.
6. Support
This agreement does not automatically entitle the Licensee to any support for
the Software provided by Us or through Our Business Partners unless otherwise
specified in the subscription terms. For the avoidance of doubt, We have no
liability and provide no support for any hardware or any cloud marketplace
services provided by any Business Partner or Cloud Provider. Where available,
maintenance and support may be purchased separately subject to a separate
VyOS's support services included subscriptions.
Support for software built from source code by a party other than Us, with or
without modifications made by the Licensee or a third party, is provided only
through separate agreements.
For more information about how to obtain a VyOS's software and support services
included subscriptions, please contact us at: sales@vyos.io.
7. Term and Termination.
This Agreement begins on the Effective Date and shall remain in effect until
terminated due to
(a) Licensee fails to pay the fees amounts associated to Our subscriptions
when due or otherwise materially breaches this Agreement, specific
quotation, purchase order and/or the subscription or customized agreements
and fails to remedy the breach within ten (10) days from the receipt of a
notification sent in writing or electronically,
(b) Licensee's deactivation or subscription cancellation of the Software,
(c) Licensee fails to pay the Business Partner, or terminate the agreement with
a Business Partner, or Business Partner fails to pay Us the applicable fees
of your Software and/or Services, or
(d) We change, cease to provide or discontinue the Software at any time.
Upon the occurrence of (a), (b), (c) or (d), above, We are entitled to
terminate this Agreement. Upon termination of this Agreement for any reason,
Licensee shall discontinue use of the Software. If you have copies of the
Software obtained when You still had an active subscription, you can keep using
them indefinitely as long as you comply with this Agreement and VyOS
Subscription Agreement, in particular - with Section 4 above and provided this
is not intended to interfere with any rights you may have from other public
and open source licenses.Termination shall not, however, relieve either party
of obligations incurred prior to the termination. The following Sections shall
survive termination of this Agreement: Definitions, Intellectual Property
Rights, Limited Warranty, Limitation of Remedies and Liability, General, Term
and Termination, and others which by their nature are intended to survive.
8. Limited Warranty
Except as specifically stated in this Section 8, a separate agreement with Us,
or a license for a particular component, to the maximum extent permitted under
applicable law, the Software and the components are provided and licensed
"as is" without warranty of any kind, express or implied, including the
implied warranties of merchantability, non-infringement, integration, quiet
enjoyment, satisfactory quality or fitness for a particular purpose. Neither
Us nor Our affiliates and Business Partners warrant that the Software will
meet your requirements, will be uninterrupted, timely, secure; that the
operation of the Software will be entirely error-free, appear or perform
precisely as described in the accompanying documentation, or comply with
regulatory requirements; that the results that may be obtained from the use of
the Software will be effective, accurate or reliable; the quality of the
Software will meet your expectations; or that any errors or defects in the
Software will be corrected. This warranty extends only to the party that
purchases subscription services for the Software from Us and/or Our affiliates
or a Our authorized Business Partner.
We and Our affiliates specifically disclaim any liability with regard to any
actions resulting from your use of the Software. Any material downloaded or
otherwise obtained through use of the Software is accessed at your own
discretion and risk, and you will be solely responsible for any damage to your
computer system or loss of data that results from use of the Software. We and
Our affiliates assume no liability for any malicious software that may be
downloaded to your computer as a result of your use of the Software.
We will not be liable for any loss that you may incur as a result of a third
party using your password or account or account information in connection with
the Software, either with or without your knowledge.
Licensee assumes the entire cost of all necessary servicing, repair, or
correction of problems caused by viruses or other harmful components; We
disclaim and makes no warranties or representations as to the accuracy,
quality, reliability, suitability, completeness, truthfulness, usefulness, or
effectiveness of the outputs, logs, reports, data, results or other information
obtained, generated or otherwise received by Licensee from accessing and/or
using the Software or otherwise resulting from this Agreement; and Licensee
shall use the Software at its own risk and in no event shall We be liable to
Licensee for any loss or damage of any kind (except personal injury or death
resulting from Our negligence, fraud or fraudulent misrepresentation and any
other liability that cannot be excluded by law) arising from Licensee's use of
or inability to use the Software or from faults or defects in the Software
whether caused by negligence or otherwise.
Licensee agrees to defend, indemnify and hold Us harmless from any losses,
liabilities, damages, actions, claims or expenses (including legal fees and
court costs) arising or resulting from Licensee's breach of any term of this
agreement or caused by acts or omissions performed by licensee.
Some jurisdictions do not allow the exclusion of certain warranties, the
limitation or exclusion of implied warranties, or limitations on how long an
implied warranty may last, so the above limitations may not apply to you.
9. Limitation of Remedies and Liability
To the maximum extent permitted under applicable law, under no circumstances
will We, Our affiliates, any of Our authorized Business Partner, or the
licensor of any component provided to you under this EULA be liable to you for
any direct, indirect, incidental, special, exemplary, punitive, or
consequential damages (including, but not limited to, procurement of substitute
goods or services, computer failure or malfunction, loss of data or profits,
business interruption, etc.) however caused and on any theory of liability,
whether in contract, strict liability, or tort (including negligence or
otherwise) arising in any way out of the use of the software or inability to
use the software, even if We, Our affiliates, an authorized Business Partner,
and/or licensor are aware of or have been advised of the possibility of such
damage. To the extent permitted by law and as the maximum aggregate liability,
Our or Our affiliates' liability, an authorized Business Partner's liability
or the liability of the licensor of a component provided to you under or in
connection with this EULA will be limited to the lesser of either five hundred
United States dollars ($500) or the fees paid by the Licensee or by Business
Partner and received by Us for the Software and attributable to the 6 month
period immediately preceding the first event giving rise to such liability. The
limitations and exclusions in this section apply to the maximum extent
permitted by applicable law in your jurisdiction. Some jurisdictions prohibit
the exclusion or limitation of liability for incidental, consequential or
punitive damages. Accordingly, the limitations and exclusions set forth above
may not apply to you.
10. Compliance and Export Control
You understand that countries may restrict the import, use, export, re-export
or transfer of encryption products and other controlled materials (which may
include the Software or related technical information licensed hereunder). You
agree to comply with export regulations by the Bureau of Industry and Security
of the U.S. Department of Commerce and all applicable laws, restrictions and
regulations in Your use of the Software, including but not limited to export
restrictions of various countries that the Software may be subject to, and
personal data protection regulations. You should comply with and oblige to
secure Us from any breach of any law and regulation, from any claim or
litigation arising as a result of such breach and to reimburse Us any loss,
resulting from such breach. You will not use the Software for a prohibited use.
10.1 Sanctions compliance. You undertake to follow that You and any person,
allowed to use the Software and the Services by You, is not a subject or the
target of sanctions, embargoes and restrictive measures ("Sanctions"),
administered by the Office of Foreign Assets Control of the U.S. Department of
the Treasury or the U.S. Department of State, the United Nations Security
Council, the European Union, Her Majesty's Treasury of the United Kingdom,
Department of Foreign Affairs and Trade of the Australian Federal Government,
or other relevant sanctions authority ("Sanctioning Authorities").
You undertake to comply with all the abovementioned Sanctions in all possible
ways to keep Us harmless and oblige to immediately terminate relations with
any person that becomes (or is) subject or target of any of the abovementioned
Sanctions, or assists anybody to evade or violate the above mentioned Sanctions.
11. Third-Party Beneficiary
Licensee acknowledges and agrees that Our licensors (and/or Us if Licensee
obtained the Software from any party other than Us) are third party
beneficiaries of this Agreement, with the right to enforce the obligations set
forth herein with respect to the respective technology of such licensors and/or
Ours.
12. Third-party components, contributions and software programs
We do not assert any Intellectual Property Rights over:
(a) components created by third parties that may be taken from upstream
sources in binary form compiled by Us from the source code;
(b) source code and documentation of the Software, which is develope
ollaboratively and is open to contributions by parties not affiliated with
Us (to such purpose, contributors give Us non-exclusive rights according
to the licenses of the Software and documentation);
(c) third parties software or programs included therein or therewith the
Software.
13. General
If any provision of this EULA is held to be unenforceable, the enforceability
of the remaining provisions shall not be affected.
Updates and upgrades may be licensed to Licensee by Us with additional or
different terms.
You are not allowed to transfer or assign this EULA or any rights hereunder,
unless with Our previous written consent. Please inform Us of Your intention
to transfer or assign in advance so We can respond accordingly. Conversely, We
may transfer, assign, sublicense or delegate the EULA or any portions thereof,
without restriction. We also may subcontract any performance associated with
the Software to third parties, provided that such subcontract does not relieve
Us of any of Our obligations under this EULA.
Licensee may not sublicense, transfer or assign, whether voluntarily or by
operation of law, any right or license in or to the Software. Any attempted
sublicense, transfer or assignment shall be void.
We may, from time-to-time modify this agreement.
Licensee shall comply with all applicable laws and regulations pertaining to
this Agreement
This Agreement, along with a VyOS Subscription Agreement, Privacy Policy and
Terms and Conditions, any quotation, purchase order and services level
agreement, if applicable, and any other documents deemed to be incorporated by
reference in it, constitutes the entire agreement between the parties with
respect to its subject matter and it supersedes all prior or contemporaneous
agreements concerning such matter. If you order VyOS from a Business Partner,
then any agreement that you enter into with a Business Partner is solely
between you and a Business Partner and will not be binding on Us.
In the table below, "Customer Location" refers to where Customer is located
(as determined by Customer's business address on the invoice) and determines
which table row applies to Customer:
Customer Location* VyOS Contracting Entity Governing Law Venue/Courts
================== ======================= ============= ============
North & South America VyOS Inc California Poway
EEA & UK VyOS EMEA Operations Ireland Cork
(except Spain & Portugal) Limited
Spain, Andorra & Portugal VyOS Networks Iberia SLU Spain Madrid
Asia & Oceania VyOS APAC Pty Ltd Australia Sydney
Non-EEA parts of Europe, VyOS Networks Cyprus Cyprus Limassol
Middle East, & Africa Limited
(except Andorra)
*all sales via Cloud Providers are generally done by VyOS Inc., unless
otherwise decided by Us regardless of Customer location.
References to "We", "Our", "Us" are references to the applicable VyOS
Contracting Entity specified in the Contracting Entity Table, unless otherwise
has been decided for operational purposes, in the Quotation and in the invoice.
The Services are provided by that VyOS Contracting Entity.
This Agreement, and any disputes arising out of or related hereto, will be
governed exclusively by the applicable governing law above, without giving
effect to any of its conflicts of laws, rules or principles. The courts located
in the applicable venue above will have exclusive jurisdiction to adjudicate
any dispute arising out of or relating to this Agreement or its formation,
interpretation, or enforcement. Each party hereby consents and submits to the
exclusive jurisdiction of such courts. Before resorting to any external dispute
resolution mechanisms, the parties agree to use their best efforts in good
faith to settle any dispute in relation to the Agreement.
We may, in our sole discretion, amend this EULA at any time by posting a
revised version thereof on Our website and, by updating the "last updated"
date on the applicable page, or by providing reasonable notice. Your continued
use of the Software following changes to the Agreement after the effective
date of a revised version thereof constitutes Your expressed acceptance of and
the agreement to be bound by the Agreement and its future versions or updates.
'''

View File

@ -1,8 +0,0 @@
packages = [
"gdb",
"strace",
"apt-rdepends",
"tshark",
"vim",
"vyos-1x-smoketest"
]

View File

@ -1 +0,0 @@
*.key

16
data/defaults.json Normal file
View File

@ -0,0 +1,16 @@
{
"architecture": "amd64",
"debian_mirror": "http://deb.debian.org/debian",
"debian_security_mirror": "http://deb.debian.org/debian-security",
"debian_distribution": "buster",
"vyos_mirror": "http://dev.packages.vyos.net/repositories/equuleus",
"vyos_branch": "equuleus",
"kernel_version": "5.4.261",
"kernel_flavor": "amd64-vyos",
"release_train": "equuleus",
"additional_repositories": [
"deb [arch=amd64] https://repo.saltproject.io/py3/debian/10/amd64/3003 buster main",
"deb [arch=amd64] http://repo.powerdns.com/debian buster-rec-48 main"
],
"custom_packages": []
}

View File

@ -1,27 +0,0 @@
build_type = "development"
architecture = "amd64"
debian_distribution = "bookworm"
debian_mirror = "http://deb.debian.org/debian"
debian_security_mirror = "http://deb.debian.org/debian-security"
debian_archive_areas = "main contrib non-free non-free-firmware"
vyos_mirror = "https://packages.vyos.net/repositories/current"
vyos_branch = "current"
release_train = "current"
kernel_version = "6.6.108"
kernel_flavor = "vyos"
bootloaders = "syslinux,grub-efi"
squashfs_compression_type = "xz -Xbcj x86 -b 256k -always-use-fragments -no-recovery"
website_url = "https://vyos.io"
support_url = "https://support.vyos.io"
bugtracker_url = "https://vyos.dev"
documentation_url = "https://docs.vyos.io/en/latest"
project_news_url = "https://blog.vyos.io"

View File

@ -1,11 +0,0 @@
Package: iproute2
Pin: release n=bookworm-backports
Pin-Priority: 600
Package: suricata libhtp2
Pin: release n=bookworm-backports
Pin-Priority: 600
Package: *
Pin: release n=bookworm-backports
Pin-Priority: -100

View File

@ -0,0 +1 @@
deb http://deb.debian.org/debian/ bullseye main

View File

@ -0,0 +1,55 @@
Package: libyang1
Pin: release n=bullseye
Pin-Priority: 600
Package: ddclient
Pin: release n=bullseye
Pin-Priority: 600
Package: podman
Pin: release n=bullseye
Pin-Priority: 600
Package: libseccomp2
Pin: release n=bullseye
Pin-Priority: 600
Package: conmon
Pin: release n=bullseye
Pin-Priority: 600
Package: containernetworking-plugins
Pin: release n=bullseye
Pin-Priority: 600
Package: runc
Pin: release n=bullseye
Pin-Priority: 600
Package: golang-github-containers-common
Pin: release n=bullseye
Pin-Priority: 600
Package: golang-github-containers-image
Pin: release n=bullseye
Pin-Priority: 600
Package: skopeo
Pin: release n=bullseye
Pin-Priority: 600
Package: initramfs-tools-core
Pin: release n=bullseye
Pin-Priority: 600
Package: initramfs-tools
Pin: release n=bullseye
Pin-Priority: 600
Package: squashfs-tools
Pin: release n=bullseye
Pin-Priority: -10
Package: *
Pin: release n=bullseye
Pin-Priority: -10

View File

@ -0,0 +1,59 @@
Package: nftables
Pin: release n=buster-backports
Pin-Priority: 600
Package: libnftables1
Pin: release n=buster-backports
Pin-Priority: 600
Package: libnftnl11
Pin: release n=buster-backports
Pin-Priority: 600
Package: conserver-server
Pin: release n=buster-backports
Pin-Priority: 600
Package: conserver-client
Pin: release n=buster-backports
Pin-Priority: 600
Package: wireguard-tools
Pin: release n=buster-backports
Pin-Priority: 600
Package: openvpn
Pin: release n=buster-backports
Pin-Priority: 600
Package: modemmanager
Pin: release n=buster-backports
Pin-Priority: 600
Package: libmbim-glib4
Pin: release n=buster-backports
Pin-Priority: 600
Package: libmm-glib0
Pin: release n=buster-backports
Pin-Priority: 600
Package: libqmi-glib5
Pin: release n=buster-backports
Pin-Priority: 600
Package: libmbim-proxy
Pin: release n=buster-backports
Pin-Priority: 600
Package: libqmi-glib5
Pin: release n=buster-backports
Pin-Priority: 600
Package: libqmi-proxy
Pin: release n=buster-backports
Pin-Priority: 600
Package: *
Pin: release n=buster-backports
Pin-Priority: -10

View File

@ -1,24 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGhVJw8BDACXwlMdVKg40L87xcyG6fuo1KAOdk3cqx0jcojtYXYo16R5A1xD
ILW/Nw/b9qWkoXAjCOL8xgspSYx8Cqg73o+Jy2tzBNSzXGYmh/8sDicJmTGBt9n7
AhwlhW7ztzYYNaJeyyGvWR+JMqGtPWuc/LixtCu/SzA6siMKCTZfUp/3nqiWQiYV
zyYCuUI9MTaS0/LCfEclORE2GU5cED4LJli5iZFcJ8RXXTfaCncIeYFFvJTPf9TP
mbKS8QGPYMPdtwsvqBEpej3pDXHetWuIIchPokq/rSa3QX7NmBhvh14ptaIu0usn
i+5XvExH4a5RC0qgHFdLeYskzlRqw3dLwGHYZZ8geLaSrLSdla2rjQFzZhEcIDKI
FnGaoAj0B3WtpJPvhmWW/1Ecryq0iOgtdNXdYxnun8eCEW6Bo5ebAW7NAI9kmWto
i+YFsVUYAZF+gP856BSaiDMFi7LV4bOu9p78o0s6DGmBe+yVPW1Lo7Vi0X8dcLnZ
07Cy0JoN+QRlqgMAEQEAAbQ4Q2xvdWRzbWl0aCBQYWNrYWdlIChpc2Mva2VhLTMt
MCkgPHN1cHBvcnRAY2xvdWRzbWl0aC5pbz6JAc4EEwEIADgWIQSdpXC7GSIRiF5O
soCxbETNRVFMPAUCaFUnDwIbLwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRCx
bETNRVFMPPxAC/0eSSK+2Z4AOsyGun2zBDLPp3qEFrAl5KjAeZCgtYJs3UiQ65DX
0iuvdq39SRWkSRw5w5og+nZbPdDzhw3KFSVgdCsQBv83DUH0Zlmn5Wf6eTh72T5F
lmaaE02picOD3/9L0RdxZOEns/19f2OtSzRHxRMKuv7crcAsnJlkWYP2w96AM0ln
QqmpVDbI8XWtQclJUkPPU+I/m6nG7Z+tc8miJ1uBfA0wP22Zj6HzRTWf9patcfTy
IDr9rO5KmiAlO+f3YbVsKGNcuxdbMusDwpe13BRfKFDlwLKbdrSeSIw1JQc2uhhX
/u1QTAXfLSoP4VAYwbfotgG9a/LKRJGG/M9mMtroOQYO15y+Vo2uSN4q5krv589h
l6MAPFr2sDiedibMl9SGAPtT83afCrSZ6BgobytsdtV3u2WOqxrVUXDpvhZKjxX6
pXrrSV9tPhZlq5pZvnDCS392FlMfHmjR4BUxzwD4Wnax8G7uQfEUWMkTaqQAZfuN
EsbY2TeLjn3ZojI=
=+igW
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -0,0 +1,29 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFV2/GwBEADD4oJuwcLkYZD6R+PM0zKdZ04owicJ9e1nTbBb8OA+92TI0cJY
8XGpjEJBRECOMJi9Gr6p3QxgZX1IQbiB/RJgRN0BYTZJ6BKobJAlSNsZBVH4wt/F
Xg8IFXi8O8XNwrhhTHVLyhZxB5WIqd8Xgdb39t7qcKLLuhdzH+hTWtGNaC3UJ1xz
3KMx79U/U71XRtvloiZF1ef0XUNvDZ/2DdTNWavdJzVeDq+whD0/ThvP0LsJzzCQ
cgfRUljfxtWHOYVqHspfFg03ofDODodzq+yT5ElIQNWL71fRQ5lX8cPAVrX6v3Rs
h2tBsWV3xjMscG36E7nKbgSXWxDInr4Xw056Mx/JO6If8vnCOYOhXcv3fdZ5Lqpr
qr6uniBTcRi1q97JI1+KDoHU6MfJ7I17wU/bTPFgy6Yck4Ropmwd5dvbwRVTdQHx
n08XYEZyNdq8zskbj8MI83jvDdvdd7b95SiBO6X3qIYKebk8rg1CfYFxBIyRd2ll
yt1K0ow4M54woB/68cMy0UB6cA8uOHscRObau3T3UB0ohsEPF7KYAqOKfKP0irV+
Ys6tR0KI/TeHqrqKhCA9PGOpOmqJaibt5GqFTc3Dp4U19njMmh4eboki8EwS6DNy
4HD76dFz2jkSQ74uB/X+nxuFEVRKS54q4aeg83NL5lnsD8TWdhTui4mURQARAQAB
tDxQb3dlckROUyBSZWxlYXNlIFNpZ25pbmcgS2V5IDxwb3dlcmRucy5zdXBwb3J0
QHBvd2VyZG5zLmNvbT6JAlUEEwEKAD8CGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4B
AheAFiEEn6qlV36Pz2IJPQNsGwxiBf04D7sFAmSBbicFCRSuDDsACgkQGwxiBf04
D7s/HRAAooP+NzYZnxr8pynTZxCK2yGTwb8kuDVLfBYNibtHHXdHQZ5qhxhGfmI/
rtnAjQS3SCzwwvAyK6Y5XU7z5ahctnEKaN+J43ve/nP5e9Aq15ioE72gLawg9IEU
I8e+7FL/WF+feQQo/8dhmqx4inOlOSb+kx9CCbSvA9Mxb+dDvf9dKBmTj/22uxQG
oeVBnj5TK4XCSmIiNZC3phHJWuL38pFUKYsOMDpRg1VUkgRPqc/9n1iWod2QkblU
ynpL74SAag2HG5zzbvknqWlgrNAqjMZjx2V/DKTdTTEeqo2jq1eWinoOv79vZlH7
L8kOyVPKMotQQdnp7n+Hs/FEHdyBV8OApGb62lF2xElDXnX+EertforubqloE46k
KcAzlylJKqIr1DGb/2VbpZUOllr8Y4aFB6yU1CL9S7MF5GTjsG9LmmUDbhHw8v4b
v3r7EmRN5AzBMhIDpNb3cDi8a83IztcfrUQlbzu4h4YU670t1+OTJ5KgwL6Mdr+1
TMiPJg5Y2ZfTVhi82hJDBCHzaOunyjXcU+pgMEl4YBNUsnFrkvBV2S7lLCJi5aDA
scFMb1hGMVeDFvd9sZg520PekP1Tejj+KjKXdWGi5xAT8M3MlIHJKV2mVLGuirx4
aOLHBOKR3n/8SGXuUuVIxmeF5mzdZuyfxn4lz4EXTTQ6J5fFX78=
=/3of
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -0,0 +1,3 @@
Package: pdns-*
Pin: origin repo.powerdns.com
Pin-Priority: 600

View File

@ -1,3 +0,0 @@
Package: *
Pin: release n=current
Pin-Priority: 999

View File

@ -4,7 +4,6 @@ set timeout=10
insmod serial
serial --unit=0 --speed=115200
insmod gzio
insmod part_msdos
insmod ext2
insmod efi_gop

View File

@ -1,31 +0,0 @@
#!/bin/sh
GRUB_PATH=boot/grub/grub.cfg
ISOLINUX_PATH=isolinux/live.cfg
KVM_CONSOLE="console=ttyS0,115200 console=tty0"
SERIAL_CONSOLE="console=tty0 console=ttyS0,115200"
# Grub.cfg Update
GRUB_MENUENTRY=$(sed -e '/menuentry.*hotkey.*/,/^}/!d' -e 's/--hotkey=l//g' $GRUB_PATH)
# Update KVM menuentry name
sed -i 's/"Live system \((.*vyos)\)"/"Live system \1 - KVM console"/' $GRUB_PATH
# Insert serial menuentry
echo "$GRUB_MENUENTRY" | sed \
-e 's/"Live system \((.*vyos)\)"/"Live system \1 - Serial console"/' \
-e "s/$KVM_CONSOLE/$SERIAL_CONSOLE/g" >> $GRUB_PATH
# Live.cfg Update
ISOLINUX_MENUENTRY=$(sed -e '/label live-\(.*\)-vyos$/,/^\tappend.*/!d' $ISOLINUX_PATH)
# Update KVM menuentry name
sed -i 's/Live system \((.*vyos)\)/Live system \1 - KVM console/' $ISOLINUX_PATH
# Insert serial menuentry
echo "\n$ISOLINUX_MENUENTRY" | sed \
-e 's/live-\(.*\)-vyos/live-\1-vyos-serial/' \
-e '/^\tmenu default/d' \
-e 's/Live system \((.*vyos)\)/Live system \1 - Serial console/' \
-e "s/$KVM_CONSOLE/$SERIAL_CONSOLE/g" >> $ISOLINUX_PATH

View File

@ -5,3 +5,5 @@ cat <<EOF >etc/default/locale
LANG=en_US.UTF-8
LC_ALL=C
EOF
sed -i 's/AcceptEnv LANG LC_\*/# AcceptEnv LANG LC_\*/g' /etc/ssh/sshd_config

View File

@ -25,6 +25,19 @@ update_sysctl_conf ()
update_sysctl_conf kernel.printk "4 4 1 7" \
"the following stops low-level messages on console"
update_sysctl_conf net.ipv4.conf.all.promote_secondaries 1 \
"promote secondaries with removal of primary address"
update_sysctl_conf net.ipv4.ip_forward 1 \
"enable ipv4 forwarding"
# FIXME! need to load or staticly link ipv6 module before adding this.
# update_sysctl_conf net.ipv6.conf.all.forwarding 1 \
# "enable ipv6 forwarding"
update_sysctl_conf net.core.rmem_max 223232 \
"maximize netlink buffers"
update_sysctl_conf net.ipv4.conf.all.send_redirects 0 \
"disable IPv4 ICMP redirects"
update_sysctl_conf net.ipv4.conf.default.send_redirects 0 \
"disable IPv4 ICMP redirects"
# Local Variables:
# mode: shell-script

View File

@ -1,7 +0,0 @@
#!/bin/sh
# Delete Dropbear SSH keys that might be generated
# by postinst scripts
# to prevent non-unique keys from appearing in images
rm -f /etc/dropbear/dropbear_*_host_key

View File

@ -9,15 +9,4 @@ if [ -e /boot/initrd.img-* ]; then
rm -f /boot/initrd.img-*
fi
KERNEL_COUNT=$(find /boot/ -type f -name vmlinuz* | wc -l)
if [ "$KERNEL_COUNT" -gt 1 ]; then
echo "E: there is more than one kernel image file installed!"
echo "E: please make sure that kernel_version in data/defaults.toml is up to date"
echo "E: if your repository is up to date, then there is a bug"
fi
kernel=`ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`
echo "I: Executing update-initramfs -c -k $kernel"
update-initramfs -c -k $kernel
update-initramfs -c -k `ls /boot | grep vmlinuz- | sed 's/vmlinuz-//g'`

View File

@ -1,15 +1,12 @@
#!/bin/sh
echo I: Disabling services
systemctl disable syslog.service
systemctl disable rsyslog.service
systemctl disable arpwatch.service
systemctl disable sendmail.service
systemctl disable smartd.service
systemctl disable isc-kea-dhcp4-server.service
systemctl disable isc-kea-dhcp6-server.service
systemctl disable isc-kea-dhcp-ddns-server.service
systemctl disable isc-dhcp-server.service
systemctl disable isc-dhcp-relay.service
systemctl disable nfacctd.service
systemctl disable pmacctd.service
systemctl disable sfacctd.service
systemctl disable uacctd.service
systemctl disable ssh.service
@ -19,67 +16,51 @@ systemctl disable lldpd.service
systemctl disable LCDd.service
systemctl disable lcdproc.service
systemctl disable conntrackd.service
systemctl disable mdns-repeater.service
systemctl disable 'udp-broadcast-relay@*.service'
systemctl disable pdns-recursor.service
systemctl disable tftpd-hpa.service
systemctl disable strongswan.service
systemctl disable logd.service
systemctl disable frr.service
systemctl disable salt-minion.service
systemctl disable certbot.service
systemctl disable certbot.timer
systemctl disable nginx.service
systemctl disable pacemaker.service
systemctl disable corosync.service
systemctl disable wpa_supplicant.service
systemctl disable squid.service
systemctl disable heartbeat.service
systemctl disable apt-daily.service
systemctl disable apt-daily.timer
systemctl disable apt-daily-upgrade.timer
systemctl disable apt-daily-upgrade.service
systemctl disable chrony.service
systemctl disable pcscd.service
systemctl disable man-db.timer
systemctl disable ntp.service
systemctl disable igmpproxy.service
systemctl disable cryptsetup.service
systemctl disable live-tools.service
systemctl disable wide-dhcpv6-client.service
systemctl disable lm-sensors.service
systemctl disable snmpd.service
systemctl disable conserver-server.service
systemctl disable dropbear.service
systemctl disable fancontrol.service
systemctl disable fastnetmon.service
systemctl disable ddclient.service
systemctl disable ocserv.service
systemctl disable tuned.service
systemctl disable radvd.service
systemctl disable hostapd.service
systemctl disable hsflowd.service
systemctl disable keepalived.service
systemctl disable ipvsadm.service
systemctl disable telegraf.service
systemctl disable ndppd.service
systemctl disable ipsec.service
systemctl disable strongswan.service
systemctl disable strongswan-starter.service
systemctl disable strongswan.service
systemctl disable avahi-daemon.service
systemctl disable atop-rotate.timer
systemctl disable ModemManager.service
systemctl disable dnsdist.service
systemctl disable haproxy.service
systemctl disable owamp-server.service
systemctl disable twamp-server.service
systemctl disable vyos-wan-load-balance.service
systemctl disable nvmf-autoconnect.service
systemctl disable dpkg-db-backup.timer
systemctl disable dpkg-db-backup.service
systemctl disable zabbix-agent2.service
systemctl disable suricata.service
systemctl disable vyconfd.service
systemctl disable vpp.service
systemctl disable netplug.service
systemctl disable pppd-dns.service
echo I: Enabling services
systemctl enable ssh-session-cleanup.service
systemctl enable vyos-hostsd.service
systemctl enable acpid.service
systemctl enable vyos-router.service
systemctl enable vyos-configd.service
systemctl enable vyos-grub-update.service
systemctl enable vyos-commitd.service
echo I: Masking services
systemctl mask systemd-journald-audit.socket
systemctl --global mask gpg-agent.service gpg-agent.socket gpg-agent-ssh.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket

View File

@ -1,9 +1,6 @@
#!/bin/sh
echo I: Creating Linux Kernel symbolic links
echo I: Creating kernel symlinks.
cd /boot
ln -s initrd.img-* initrd.img
ln -s vmlinuz-* vmlinuz
echo I: Remove Linux Kernel symbolic link to source folder
rm -rf /lib/modules/*/build

View File

@ -0,0 +1,9 @@
#!/bin/sh
if [ -f /etc/dhcp/dhclient-exit-hooks.d/ddclient ]; then
rm -f /etc/dhcp/dhclient-exit-hooks.d/ddclient
fi
if [ -f /etc/ddclient.conf ]; then
rm -f /etc/ddclient.conf
fi

View File

@ -1,4 +0,0 @@
#!/bin/sh
echo I: Choose systemd multi-user.target over graphical.target
systemctl set-default -f multi-user.target

View File

@ -0,0 +1,73 @@
#!/usr/bin/env python
# For FRR to work in VyOS as expected we need a few fixups
#
# 1. Enable daemons we use in /etc/frr/daemons
# 2. Set the VRF backend of Zebra to netns (-n option) in /etc/frr/daemons.conf
# Otherwise multiple routing tables for PBR won't work
# 3. Create empty configs for daemons with use
# That is to make them possible to start on boot before config is loaded
#
import os
daemons = """
zebra=yes
bgpd=yes
ospfd=yes
ospf6d=yes
ripd=yes
ripngd=yes
isisd=yes
pimd=no
ldpd=yes
nhrpd=no
eigrpd=no
babeld=no
sharpd=no
pbrd=no
bfdd=yes
staticd=yes
vtysh_enable=yes
zebra_options=" -s 90000000 --daemon -A 127.0.0.1 -M snmp"
bgpd_options=" --daemon -A 127.0.0.1 -M snmp -M rpki"
ospfd_options=" --daemon -A 127.0.0.1 -M snmp"
ospf6d_options=" --daemon -A ::1 -M snmp"
ripd_options=" --daemon -A 127.0.0.1 -M snmp"
ripngd_options=" --daemon -A ::1"
isisd_options=" --daemon -A 127.0.0.1"
pimd_options=" --daemon -A 127.0.0.1"
ldpd_options=" --daemon -A 127.0.0.1"
nhrpd_options=" --daemon -A 127.0.0.1"
eigrpd_options=" --daemon -A 127.0.0.1"
babeld_options=" --daemon -A 127.0.0.1"
sharpd_options=" --daemon -A 127.0.0.1"
pbrd_options=" --daemon -A 127.0.0.1"
staticd_options=" --daemon -A 127.0.0.1"
bfdd_options=" --daemon -A 127.0.0.1"
watchfrr_enable=no
valgrind_enable=no
"""
frr_conf = """
log syslog
log facility local7
"""
frr_log = ''
with open("/etc/frr/daemons", "w") as f:
f.write(daemons)
with open("/etc/frr/frr.conf", "w") as f:
f.write(frr_conf)
# Prevent writing logs to /var/log/frr/frr.log. T2061
with open("/etc/rsyslog.d/45-frr.conf", "w") as f:
f.write(frr_log)
# Create empty daemon configs so that they start properly
for name in ["zebra.conf", "bgpd.conf", "ospfd.conf", "ospf6d.conf", "ripd.conf", "ripngd.conf"]:
open(os.path.join("/etc/frr", name), 'a').close()

View File

@ -0,0 +1,18 @@
#!/usr/bin/env python
# open-vm-tools settings
import os
import re
vmtools_config = """
[guestinfo]
poll-interval=30
"""
if os.path.isdir('/etc/vmware-tools'):
with open('/etc/vmware-tools/tools.conf', 'w') as f:
f.write(vmtools_config)
else:
print('Open VM Tools not found. Skipping its configuration.')

View File

@ -0,0 +1,13 @@
#!/bin/sh
# The /etc/debian_version file contains the Debian release version number.
#Since VyOS uses image-based upgrade, that file serves no useful purpose for us.
#
# However, security scanners love to jump to conclusions
# and declare an "old Debian version" vulnerable
# without checking if there may not be any packages from that version at all.
# Removing that file is an easy way to get fewer false positives.
echo "I: Deleting the Debian version file"
rm -f /etc/debian_version

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# The Cisco Unity plugin, that implements a proprietary extension
# for IPsec split tunneling, interfers with DMVPN

View File

@ -1,13 +0,0 @@
#!/bin/sh
CRACKLIB_DIR=/var/cache/cracklib
CRACKLIB_DB=cracklib_dict
if [ ! -f "${CRACKLIB_DIR}/${CRACKLIB_DB}.pwd" ]; then
echo "I: Creating the cracklib database ${CRACKLIB_DIR}/${CRACKLIB_DB}"
mkdir -p $CRACKLIB_DIR
/usr/sbin/create-cracklib-dict -o $CRACKLIB_DIR/$CRACKLIB_DB \
/usr/share/dict/cracklib-small
fi

View File

@ -1,16 +0,0 @@
#!/bin/sh
# Geolocation data provided by DB-IP.com
# License: https://creativecommons.org/licenses/by/4.0/ (CC BY 4.0)
DATE_SUFFIX=$(date +%Y-%m)
URL="https://download.db-ip.com/free/dbip-country-lite-${DATE_SUFFIX}.csv.gz"
OUT_PATH="/usr/share/vyos-geoip/dbip-country-lite.csv.gz"
mkdir -p $(dirname $OUT_PATH)
wget -O - $URL > $OUT_PATH
if [ $? -ne 0 ]; then
echo "Failed to download GeoIP database"
rm $OUT_PATH
fi

View File

@ -0,0 +1,10 @@
#!/bin/bash
# We do not need any documentation on the system. This frees some space.
# Copyright/licenses files are ignored for deletion
shopt -s extglob
rm -rf /usr/share/doc/*/!(copyright*|README*) /usr/share/doc-base
# We also do not need any manpages on the system since man-binary is missing.
# This also frees some space.
rm -rf /usr/share/man

View File

@ -0,0 +1,11 @@
#!/bin/sh
# we use systemd to control ISC daemons from within vyos-1x
FILES="/etc/default/isc-dhcp-server /etc/default/isc-dhcp-relay"
for FILE in ${FILES}
do
if [ -f ${FILE} ]; then
rm -f ${FILE}
fi
done

View File

@ -0,0 +1,12 @@
#!/bin/sh
if ! command -v gpg &> /dev/null; then
echo "gpg binary could not be found"
exit 1
fi
GPG_KEY="/usr/share/vyos/keys/vyos-release.pub.asc"
echo I: Import GPG key
gpg --import ${GPG_KEY}
exit $?

View File

@ -0,0 +1,4 @@
#!/bin/sh
if [ -f /etc/update-motd.d/10-uname ]; then
rm -f /etc/update-motd.d/10-uname
fi

View File

@ -1,75 +0,0 @@
#!/bin/sh
#
# Discard symbols and other data from object files.
#
# Reference:
# https://www.linuxfromscratch.org/lfs/view/systemd/chapter08/stripping.html
# https://www.debian.org/doc/debian-policy/ch-files.html
#
# Set variables.
STRIPCMD_REGULAR="strip --remove-section=.comment --remove-section=.note --preserve-dates"
STRIPCMD_DEBUG="strip --strip-debug --remove-section=.comment --remove-section=.note --preserve-dates"
STRIPCMD_UNNEEDED="strip --strip-unneeded --remove-section=.comment --remove-section=.note --preserve-dates"
STRIPDIR_REGULAR="
"
STRIPDIR_DEBUG="
"
STRIPDIR_UNNEEDED="
/etc/hsflowd/modules
/usr/bin
/usr/lib/openvpn
/usr/lib/x86_64-linux-gnu
/usr/lib32
/usr/lib64
/usr/libx32
/usr/sbin
"
STRIP_EXCLUDE=`dpkg-query -L libbinutils | grep '.so'`
# Perform stuff.
echo "Stripping symbols..."
# List excluded files.
echo "Exclude files: ${STRIP_EXCLUDE}"
# CMD: strip
for DIR in ${STRIPDIR_REGULAR}; do
echo "Parse dir (strip): ${DIR}"
find ${DIR} -type f -exec file {} \; | grep 'not stripped' | cut -d ":" -f 1 | while read FILE; do
echo "${STRIP_EXCLUDE}" | grep -F -q -w "${FILE}"
if [ $? -ne 0 ]; then
echo "Strip file (strip): ${FILE}"
${STRIPCMD_REGULAR} ${FILE}
fi
done
done
# CMD: strip --strip-debug
for DIR in ${STRIPDIR_DEBUG}; do
echo "Parse dir (strip-debug): ${DIR}"
find ${DIR} -type f -exec file {} \; | grep 'not stripped' | cut -d ":" -f 1 | while read FILE; do
echo "${STRIP_EXCLUDE}" | grep -F -q -w "${FILE}"
if [ $? -ne 0 ]; then
echo "Strip file (strip-debug): ${FILE}"
${STRIPCMD_DEBUG} ${FILE}
fi
done
done
# CMD: strip --strip-unneeded
for DIR in ${STRIPDIR_UNNEEDED}; do
echo "Parse dir (strip-unneeded: ${DIR}"
find ${DIR} -type f -exec file {} \; | grep 'not stripped' | cut -d ":" -f 1 | while read FILE; do
echo "${STRIP_EXCLUDE}" | grep -F -q -w "${FILE}"
if [ $? -ne 0 ]; then
echo "Strip file (strip-unneeded): ${FILE}"
${STRIPCMD_UNNEEDED} ${FILE}
fi
done
done
# Remove binutils package.
apt-get -y purge --autoremove binutils

View File

@ -1,31 +0,0 @@
#!/bin/sh
SIGN_FILE=$(find /usr/lib -name sign-file)
KERNEL_KEY="/var/lib/shim-signed/mok/vyos-dev-2025-linux.key"
KERNEL_CERT="/var/lib/shim-signed/mok/vyos-dev-2025-linux.pem"
VMLINUZ=$(readlink /boot/vmlinuz)
# All Linux Kernel modules need to be cryptographically signed
find /lib/modules -type f -name \*.ko | while read MODULE; do
modinfo ${MODULE} | grep -q "signer:"
if [ $? != 0 ]; then
echo "E: Module ${MODULE} is not signed!"
read -n 1 -s -r -p "Press any key to continue"
fi
done
if [ ! -f ${KERNEL_KEY} ] && [ ! -f ${KERNEL_CERT} ]; then
echo "I: Signing key for Linux Kernel not found - Secure Boot not possible"
else
echo "I: Signing Linux Kernel for Secure Boot"
sbsign --key ${KERNEL_KEY} --cert ${KERNEL_CERT} /boot/${VMLINUZ} --output /boot/${VMLINUZ}
sbverify --list /boot/${VMLINUZ}
rm -f ${KERNEL_KEY}
fi
for cert in $(ls /var/lib/shim-signed/mok/); do
if grep -rq "BEGIN PRIVATE KEY" /var/lib/shim-signed/mok/${cert}; then
echo "Found private key - bailing out"
exit 1
fi
done

View File

@ -1,10 +0,0 @@
# VyOS 1.3.x image upgrade scipt checked if an image file was a valid ISO file
# by grepping it for "ISO9660".
# (The correct way to do that would be to use file/libmagic,
# but we cannot change the past).
# At some point something has changed in xorriso or some other tool
# and images no longer include that string.
# so the image validity check fails.
# To allow direct upgrades from older versions,
# we artificially include that string to make the old check pass.
ISO9660

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@ -14,7 +14,7 @@ esac
# Begin real processing below this line
# include listed modules to initramfs but not load them without the necessity
manual_add_modules igb ixgbe ixgbevf i40e i40evf
manual_add_modules igb ixgbe ixgbevf i40e i40evf ice
# include modules from file (one per line) to initramfs but not load them without the necessity
# add_modules_from_file /tmp/modlist
@ -33,4 +33,3 @@ copy_exec /usr/sbin/fsck.ext4
# copy other files ("other" here is a file type, so do not delete this keyword)
copy_file other /etc/ssl/certs/ca-certificates.crt
copy_file other /etc/ssl/openssl.cnf

View File

@ -0,0 +1 @@
options ixgbe allow_unsupported_sfp=1

View File

@ -1,60 +0,0 @@
#
# **** License ****
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# This code was originally developed by Vyatta, Inc.
# Portions created by Vyatta are Copyright (C) 2009 Vyatta, Inc.
# All Rights Reserved.
# **** End License ****
#
# Author: Bob Gilligan <gilligan@vyatta.com>
#
# Some network interface drivers employ a scheme known as "copybreak"
# in which they make a copy of a received skb if the size of the
# buffer is below a particular threshold, then return the original
# receive skb back to the pool. Since these drivers initially
# allocate a buffer size that is larger than the largest possible
# packet, this scheme returns that large buffer to the pool quickly,
# and uses a smaller one.
#
# The primary benefit of copybreak is better memory utilization. On
# systems where the data is ultimately going to be copied out to user
# space, the copybreak scheme is "low cost" because it has the side
# benefit of priming the cache for that later copy. But on a router
# that only touches the header fields of a received packet, the cost
# can be relatively higher. And on modern systems the memory savings
# is rarely an important consideration.
#
# Some of the drivers that employ copybreak make the feature
# configurable via a module parameter. This file disables copybreak
# in some of those drivers. Generally this results in an improvement
# in forwarding performance for traffic using these drivers.
options 3c515 rx_copybreak=0
options 3c59x rx_copybreak=0
options bcm63xx copybreak=0
options cxgb copybreak=0
options e1000 copybreak=0
options e1000e copybreak=0
options epic100 rx_copybreak=0
options fealnx rx_copybreak=0
options hamachi rx_copybreak=0
options ixgb copybreak=0
options natsemi rx_copybreak=0
options pch_gbe copybreak=0
options pcnet32 rx_copybreak=0
options sis190 rx_copybreak=0
options sky2 copybreak=0
options starfire rx_copybreak=0
options sundance rx_copybreak=0
options typhoon rx_copybreak=0
options via-rhine rx_copybreak=0
options via-velocity rx_copybreak=0
options yellowfin rx_copybreak=0

View File

@ -0,0 +1,29 @@
#!/bin/sh
#
# vyos policy agent for netplugd
#
dev="$1"
action="$2"
case "$action" in
in)
run-parts -a $dev /etc/netplug/linkup.d
;;
out)
run-parts -a $dev /etc/netplug/linkdown.d
;;
# probe loads and initialises the driver for the interface and brings the
# interface into the "up" state, so that it can generate netlink(7) events.
# This interferes with "admin down" for an interface. Thus, commented out. An
# "admin up" is treated as a "link up" and thus, "link up" action is executed.
# To execute "link down" action on "admin down", run appropriate script in
# /etc/netplug/linkdown.d
#probe)
# ;;
*)
exit 1
;;
esac

View File

@ -0,0 +1,3 @@
eth*
br*
bond*

View File

@ -0,0 +1,119 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\H\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\H:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\H: \w\a\]$PS1"
;;
*)
;;
esac
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
OPAMROOT='/opt/opam'; export OPAMROOT;
OPAM_SWITCH_PREFIX='/opt/opam/4.07.0'; export OPAM_SWITCH_PREFIX;
CAML_LD_LIBRARY_PATH='/opt/opam/4.07.0/lib/stublibs:/opt/opam/4.07.0/lib/ocaml/stublibs:/opt/opam/4.07.0/lib/ocaml'; export CAML_LD_LIBRARY_PATH;
OCAML_TOPLEVEL_PATH='/opt/opam/4.07.0/lib/toplevel'; export OCAML_TOPLEVEL_PATH;
MANPATH=':/opt/opam/4.07.0/man'; export MANPATH;
PATH='/opt/opam/4.07.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'; export PATH;

View File

@ -0,0 +1,22 @@
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

View File

@ -46,11 +46,10 @@ ShowStatus=yes
#DefaultLimitNOFILE=
#DefaultLimitAS=
#DefaultLimitNPROC=
#DefaultLimitMEMLOCK=
DefaultLimitMEMLOCK=8M
#DefaultLimitLOCKS=
#DefaultLimitSIGPENDING=
#DefaultLimitMSGQUEUE=
#DefaultLimitNICE=
#DefaultLimitRTPRIO=
#DefaultLimitRTTIME=
StatusUnitFormat=description

View File

@ -0,0 +1,13 @@
[Unit]
Description=OpenBSD Secure Shell session cleanup
Wants=network.target
After=network.target
[Service]
ExecStart=/bin/true
ExecStop=/usr/lib/openssh/ssh-session-cleanup
RemainAfterExit=yes
Type=oneshot
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,39 @@
system {
host-name vyos
login {
user vyos {
authentication {
encrypted-password $6$QxPS.uk6mfo$9QBSo8u1FkH16gMyAVhus6fU3LOzvLR9Z9.82m3tiHFAxTtIkhaZSWssSgzt4v4dGAL8rhVQxTg0oAG9/q11h/
plaintext-password ""
}
}
}
syslog {
global {
facility all {
level info
}
facility protocols {
level debug
}
}
}
ntp {
server "time1.vyos.net"
server "time2.vyos.net"
server "time3.vyos.net"
}
console {
device ttyS0 {
speed 115200
}
}
config-management {
commit-revisions 100
}
}
interfaces {
loopback lo {
}
}

View File

@ -1,20 +1,20 @@
menuentry "VyOS (KVM console)" {
linux /boot//vmlinuz boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 udev.exec_delay=3 vyos-union=/boot/ console=ttyS0,115200 console=tty0
linux /boot//vmlinuz boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 vyos-union=/boot/ console=ttyS0,115200 console=tty0
initrd /boot//initrd.img
}
menuentry "VyOS (Serial console)" {
linux /boot//vmlinuz boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 udev.exec_delay=3 vyos-union=/boot/ console=tty0 console=ttyS0,115200
linux /boot//vmlinuz boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 vyos-union=/boot/ console=tty0 console=ttyS0,115200
initrd /boot//initrd.img
}
menuentry "Lost password change (KVM console)" {
linux /boot//vmlinuz boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 udev.exec_delay=3 vyos-union=/boot/ console=ttyS0,115200 console=tty0 init=/opt/vyatta/sbin/standalone_root_pw_reset
linux /boot//vmlinuz boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 vyos-union=/boot/ console=ttyS0,115200 console=tty0 init=/opt/vyatta/sbin/standalone_root_pw_reset
initrd /boot//initrd.img
}
menuentry "Lost password change (Serial console)" {
linux /boot//vmlinuz boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 udev.exec_delay=3 vyos-union=/boot/ console=tty0 console=ttyS0,115200 init=/opt/vyatta/sbin/standalone_root_pw_reset
linux /boot//vmlinuz boot=live quiet rootdelay=5 noautologin net.ifnames=0 biosdevname=0 vyos-union=/boot/ console=tty0 console=ttyS0,115200 init=/opt/vyatta/sbin/standalone_root_pw_reset
initrd /boot//initrd.img
}

View File

@ -0,0 +1,11 @@
#! /bin/sh
ssh_session_pattern='sshd: \S.*@pts/[0-9]+'
IFS="$IFS@"
pgrep -a -f "$ssh_session_pattern" | while read pid daemon user pty; do
echo "Found ${daemon%:} session $pid on $pty; sending SIGTERM"
kill "$pid" || true
done
exit 0

View File

@ -0,0 +1,9 @@
Welcome to VyOS!
Check out project news at https://blog.vyos.io
and feel free to report bugs at https://vyos.dev
You can change this banner using "set system login banner post-login" command.
VyOS is a free software distribution that includes multiple components,
you can check individual component licenses under /usr/share/doc/*/copyright

View File

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (GNU/Linux)
mQINBFXKsiIBEACyid9PR/v56pSRG8VgQyRwvzoI7rLErZ8BCQA2WFxA6+zNy+6G
+0E/6XAOzE+VHli+wtJpiVJwAh+wWuqzOmv9css2fdJxpMW87pJAS2i3EVVVf6ab
wU848JYLGzc9y7gZrnT1m2fNh4MXkZBNDp780WpOZx8roZq5X+j+Y5hk5KcLiBn/
lh9Zoh8yzrWDSXQsz0BGoAbVnLUEWyo0tcRcHuC0eLx6oNG/IHvd/+kxWB1uULHU
SlB/6vcx56lLqgzywkmhP01050ZDyTqrFRIfrvw6gLQaWlgR3lB93txvF/sz87Il
VblV7e6HEyVUQxedDS8ikOyzdb5r9a6Zt/j8ZPSntFNM6OcKAI7U1nDD3FVOhlVn
7lhUiNc+/qjC+pR9CrZjr/BTWE7Zpi6/kzeH4eAkfjyALj18oC5udJDjXE5daTL3
k9difHf74VkZm29Cy9M3zPckOZpsGiBl8YQsf+RXSBMDVYRKZ1BNNLDofm4ZGijK
mriXcaY+VIeVB26J8m8y0zN4/ZdioJXRcy72c1KusRt8e/TsqtC9UFK05YpzRm5R
/nwxDFYb7EdY/vHUFOmfwXLaRvyZtRJ9LwvRUAqgRbbRZg3ET/tn6JZk8hqx3e1M
IxuskOB19t5vWyAo/TLGIFw44SErrq9jnpqgclTSRgFjcjHEm061r4vjoQARAQAB
tDZWeU9TIE1haW50YWluZXJzIChWeU9TIFJlbGVhc2UpIDxtYWludGFpbmVyc0B2
eW9zLm5ldD6JAjgEEwECACIFAlXKsiICGwMGCwkIBwMCBhUIAgkKCwQWAgMBAh4B
AheAAAoJEP0iAoWg/m1+xbgP+QEDYZi5dA4IPY+vU1L95Bavju2m2o35TSUDPg5B
jfAGuhbsNUceU+l/yUlxjpKEmvshyW3GHR5QzUaKGup/ZDBo1CBxZNhpSlFida2E
KAYTx4vHk3MRXcntiAj/hIJwRtzCUp5UQIqHoU8dmHoHOkKEP+zhJuR6E2s+WwDr
nTwE6eRa0g/AHY+chj2Je6flpPm2CKoTfUE7a2yBBU3wPq3rGtsQgVxPAxHRZz7A
w4AjH3NM1Uo3etuiDnGkJAuoKKb1J4X3w2QlbwlR4cODLKhJXHIufwaGtRwEin9S
1l2bL8V3gy2Hv3D2t9TQZuR5NUHsibJRXLSa8WnSCcc6Bij5aqfdpYB+YvKH/rIm
GvYPmLZDfKGkx0JE4/qtfFjiPJ5VE7BxNyliEw/rnQsxWAGPqLlL61SD8w5jGkw3
CinwO3sccTVcPz9b6A1RsbBVhTJJX5lcPn1lkOEVwQ7l8bRhOKCMe0P53qEDcLCd
KcXNnAFbVes9u+kfUQ4oxS0G2JS9ISVNmune+uv+JR7KqSdOuRYlyXA9uTjgWz4y
Cs7RS+CpkJFqrqOtS1rmuDW9Ea4PA8ygGlisM5d/AlVkniHz/2JYtgetiLCj9mfE
MzQpgnldNSPumKqJ3wwmCNisE+lXQ5UXCaoaeqF/qX1ykybQn41LQ+0xT5Uvy7sL
9IwGuQINBFXKsiIBEACg2mP3QYkXdgWTK5JyTGyttE6bDC9uqsK8dc1J66Tjd5Ly
Be0amO+88GHXa0o5Smwk2QNoxsRR41G/D/eAeGsuOEYnePROEr3tcLnDjo4KLgQ+
H69zRPn77sdP3A34Jgp+QIzByJWM7Cnim31quQP3qal2QdpGJcT/jDJWdticN76a
Biaz+HN13LyvZM+DWhUDttbjAJc+TEwF9YzIrU+3AzkTRDWkRh4kNIQxjlpNzvho
9V75riVqg2vtgPwttPEhOLb0oMzy4ADdfezrfVvvMb4M4kY9npu4MlSkNTM97F/I
QKy90JuSUIjE05AO+PDXJF4Fd5dcpmukLV/2nV0WM2LAERpJUuAgkZN6pNUFVISR
+nSfgR7wvqeDY9NigHrJqJbSEgaBUs6RTk5hait2wnNKLJajlu3aQ2/QfRT/kG3h
ClKUz3Ju7NCURmFE6mfsdsVrlIsEjHr/dPbXRswXgC9FLlXpWgAEDYi9Wdxxz8o9
JDWrVYdKRGG+OpLFh8AP6QL3YnZF+p1oxGUQ5ugXauAJ9YS55pbzaUFP8oOO2P1Q
BeYnKRs1GcMI8KWtE/fze9C9gZ7Dqju7ZFEyllM4v3lzjhT8muMSAhw41J22mSx6
VRkQVRIAvPDFES45IbB6EEGhDDg4pD2az8Q7i7Uc6/olEmpVONSOZEEPsQe/2wAR
AQABiQIfBBgBAgAJBQJVyrIiAhsMAAoJEP0iAoWg/m1+niUQAKTxwJ9PTAfB+XDk
3qH3n+T49O2wP3fhBI0EGhJp9Xbx29G7qfEeqcQm69/qSq2/0HQOc+w/g8yy71jA
6rPuozCraoN7Im09rQ2NqIhPK/1w5ZvgNVC0NtcMigX9MiSARePKygAHOPHtrhyO
rJQyu8E3cV3VRT4qhqIqXs8Ydc9vL3ZrJbhcHQuSLdZxM1k+DahCJgwWabDCUizm
sVP3epAP19FP8sNtHi0P1LC0kq6/0qJot+4iBiRwXMervCD5ExdOm2ugvSgghdYN
BikFHvmsCxbZAQjykQ6TMn+vkmcEz4fGAn4L7Nx4paKEtXaAFO8TJmFjOlGUthEm
CtHDKjCTh9WV4pwG2WnXuACjnJcs6LcK377EjWU25H4y1ff+NDIUg/DWfSS85iIc
UgkOlQO6HJy0O96L5uxn7VJpXNYFa20lpfTVZv7uu3BC3RW/FyOYsGtSiUKYq6cb
CMxGTfFxGeynwIlPRlH68BqH6ctR/mVdo+5UIWsChSnNd1GreIEI6p2nBk3mc7jZ
7pTEHpjarwOjs/S/lK+vLW53CSFimmW4lw3MwqiyAkxl0tHAT7QMHH9Rgw2HF/g6
XD76fpFdMT856dsuf+j2uuJFlFe5B1fERBzeU18MxML0VpDmGFEaxxypfACeI/iu
8vzPzaWHhkOkU8/J/Ci7+vNtUOZb
=Ld8S
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,2 +0,0 @@
untrusted comment: minisign public key D3643767F448688
RWSIhkR/dkM2DSaBRniv/bbbAf8hmDqdbOEmgXkf1RxRoxzodgKcDyGq

View File

@ -1,4 +1,5 @@
debconf
vyos-1x
gpgv
gnupg
vyos-world
vyos-user-utils
zstd

View File

@ -2,4 +2,3 @@ systemd-sysv
systemd-bootchart
ncurses-term
kitty-terminfo
binutils

View File

@ -1,63 +0,0 @@
# Exclude various unused files and directories in order to free some space and shrink imagesize.
#
# For information on how to use wildcards properly (Anchored and Non-anchored excludes):
#
# https://github.com/plougher/squashfs-tools/blob/master/RELEASE-READMEs/README-3.3
#
# Note:
#
# - root starts without leading '/'.
#
# Txxx: Drop isc-dhcp helper files from /etc/default.
# We use systemd to control ISC daemons from within vyos-1x.
etc/default/isc-dhcp-server
etc/default/isc-dhcp-relay
# T2185: Clean leftover files (ddclient) from base package.
etc/dhcp/dhclient-exit-hooks.d/ddclient
etc/ddclient.conf
# T3242: Add hook to prevent link_config redundancy call in systemd-udev.
# 99-default.link rule always calls link_config thats trying to set autonegotiation and duplex even for PPP interfaces.
# Need to delete this rule to prevent overhead on interface creation stage.
lib/systemd/network/99-default.link
# T3774: Disabled atop services.
etc/cron.d/atop
# T3912: Remove superfluous motd.d kernel version shell script.
etc/update-motd.d/10-uname
# T4415: We do not need any documentation on the system.
# Copyright/licenses files are ignored for deletion.
usr/share/doc/*/!(copyright*|README*)
usr/share/doc-base
# T5468: We do not need any manpages on the system since man-binary is missing.
usr/local/man/*
usr/local/share/man/*
usr/share/man/*
# T5511: We do not need any games on the system.
usr/games/*
usr/local/games/*
# T5511: We do not need any caches on the system (will be recreated when needed).
# T7278: We need directory created by python3-cracklib for password checks
var/cache/!(cracklib)
# T5511: We do not need any log-files on the system (will be recreated when needed).
var/log/*.log
var/log/*/*.log
var/log/*/*.log.xz
# T5511: We do not need any backup-files on the system (will be recreated when needed).
... *.bak
... *.old
... *.kbx~
var/lib/dpkg/*-old
# T5624: Remove the Debian version file to avoid false positives from security scanners.
etc/debian_version

Some files were not shown because too many files have changed in this diff Show More