12 Commits

Author SHA1 Message Date
Andrey Smirnov
968ec1e0ca
refactor: propagate NAME properly, allow to set on build
Allow to set build NAME on build, propagate it down to more consumers.

Expose name in `Version` resource, and use that in the dashboard
next to Talos version.

Fix some places where `Name` was hardcoded.

Propagate Name down to UKI build.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2026-04-08 17:57:43 +04:00
Andrey Smirnov
6063fbf912
feat: update dependencies
Many small changes, linting fixes, migration to moby/moby client
package.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-11-14 14:49:44 +04:00
Andrey Smirnov
c079119337
chore: refactor how tools are being installed
Move stuff into `tools/go.mod`.

Also fix linting issues on the way (updating golangci-lint).

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-08-14 17:45:39 +04:00
Andrey Smirnov
7f0300f108
feat: update dependencies, Kubernetes 1.34.0-alpha.2
Bump all dependencies, many small changes due to new golangci-lint
version.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-06-30 19:05:22 +04:00
Noel Georgi
607998ba20
feat: support uki profiles via imager
Support passing uki profiles from imager.

Part-of: #10190

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-02-11 20:22:40 +05:30
Noel Georgi
88cf69b8c5
feat: multi profile UKIs
Support generating multi profile UKIs.
This PR adds the default wipe options.

Fixes: #10190

Supporting extra profiles via imager would be another PR.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-02-11 15:41:55 +05:30
Noel Georgi
15191aa3e3
fix: extract cmdline multi profile UKIs
When extracting `.cmdline` from multi profile UKI's we only need the
first cmdline, rest are profile specific and not the default cmdline.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-02-06 15:38:10 +05:30
Andrey Smirnov
19040ffd6e
fix: handle of PE sections with duplicate names
Required for multi-profile UKIs.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-01-30 11:28:46 +04:00
Noel Georgi
42e1669845
feat: support kexec from uki
Support kexec from UKI for non-secureboot by extracting kernel,
initramfs and cmdline from UKI

Fixes: #10189

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-28 16:20:51 +05:30
Noel Georgi
edf7c32883
fix: pe uki extract
The PE UKI extract was returning a reader that reads upto the section
`Size` which is the size on disk which could be padded, we need a limit
reader reading upto `VirtualSize`.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-27 18:22:56 +05:30
Noel Georgi
601cdccb97
feat: extract kernel/initrd from uki for grub
Extract Kernel, Initrd and Commandline from UKI for GRUB installs.

Fixes: #10191

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-23 23:21:04 +05:30
Noel Georgi
9b957df646
chore: uki code restructure
UKI code re-structure, no-op.

Signed-off-by: Noel Georgi <git@frezbo.dev>
2025-01-14 18:01:53 +05:30