internal/rosa: name suffix by toolchain
All checks were successful
Test / Create distribution (push) Successful in 49s
Test / Sandbox (push) Successful in 2m35s
Test / Hakurei (push) Successful in 3m54s
Test / ShareFS (push) Successful in 3m57s
Test / Hpkg (push) Successful in 4m32s
Test / Sandbox (race detector) (push) Successful in 5m3s
Test / Hakurei (race detector) (push) Successful in 6m8s
Test / Flake checks (push) Successful in 1m44s

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 {