internal/rosa: name suffix by toolchain

This makes output more useful during bootstrap.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-26 00:57:03 +09:00
parent 3224a7da63
commit bb1b6beb87
2 changed files with 12 additions and 1 deletions

View File

@@ -98,7 +98,12 @@ func (a cureEtc) Dependencies() []pkg.Artifact {
}
// String returns a hardcoded reporting name.
func (cureEtc) String() string { return "cure-etc" }
func (a cureEtc) String() string {
if a.iana == nil {
return "cure-etc-minimal"
}
return "cure-etc"
}
// newIANAEtc returns an unpacked iana-etc release.
func newIANAEtc() pkg.Artifact {