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>
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>
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>
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>
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>
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>