In all honesty you can’t build LTS images. Per VyOS leadership the LTS images are for paid subscribers (more info here VyOS Community)
Your only option is to build from the 1.4 branch. If you time it to just after the announcement you’re essentially getting a like for like build as the official image.
Fair point in pointing that out but I believe the documentation is not sufficiently clear based on the position of the VyOS team discussed in other posts about LTS images.
I believe what they are trying to say in the documentation is that you can build an image from the LTS branch at any time but not that you can build the same release image that the VyOS team release to paid contributors.
That is simply not true though, you are able to build the LTS but only within a certain timeframe because their APT packages are rolling. If they push breaking changes (like we just observed) you can no longer build the LTS release. Meaning to say building the LTS release is not a repeatable process for us plebeians. I like many others would love to support Vyos but it’s not feasible for home users who want to stick with LTS releases.
I haven’t tried specifically building from the 1.4-epa1 tag but I did build what I consider to be a feature-comparable iso from the 1.4 branch a few days after epa1 was posted (version info below). This contains ep1 plus whatever commits happened in those few days after epa1 was posted.
$ uname -a
Linux zeus 6.6.17-amd64-vyos #1 SMP PREEMPT_DYNAMIC Sat Feb 17 20:15:01 UTC 2024 x86_64 GNU/Linux
$ show version
Version: VyOS 2024.02.27
Release train: sagitta
Built by: (redacted)
Built on: Tue 27 Feb 2024 18:09 UTC
Build UUID: d3cf81b8-14ee-499b-b366-f63213410f42
Build commit ID: 65d5a9cea20590
Architecture: x86_64
Boot via: installed image
System type: bare metal
The “alias vybld_sagitta” command under Tips and Tricks is what I used and once it finished running I ran the “sudo ./build-vyos-image iso…” command under Start the Build. This produced the ISO I’m running now.
What the problem to do build with the latest code base/fixes and packages ? Do not use specific tag as binary could be completely changed since tag time.
There are many ways to get prebuilt LTS release for contributors, VyOS Community
I know this isn’t quite what you’re asking, but if you absolutely want to build from the EPA1 source, then you can change the kernel value in the defaults.toml file and the build will complete.
This will obviously be even further from a “like for like” version of 1.4 than just having newer packages when doing a build.
When building VyOS from git tag 1.4.0-epa1 I end up with kernel 6.6.21 instead of 6.6.17 due to packages like vyos-intel-ixgbe which depend on the latest kernel.
Same here, I cannot build the 1.4.0-epa1 tag as it fails. As I can see from the logs there are two kernel packages fetched from the deb repository: 6.6.17 and 6.6.21:
I also agree this hardly fits into the statement “non-subscribers can always get the LTS release by building it from source”. Either repo or documentation should be fixed.