aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/etc.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-26 00:57:03 +0900
committerOphestra <cat@gensokyo.uk>2026-01-26 00:57:03 +0900
commitbb1b6beb87ea8e3734299f1b01b49b14901c5833 (patch)
treec67dba51ce2cc2e11c53475b7d33024804dd8325 /internal/rosa/etc.go
parent3224a7da63a79e27abd0ac5054e8e890ad53d452 (diff)
internal/rosa: name suffix by toolchain
This makes output more useful during bootstrap. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/etc.go')
-rw-r--r--internal/rosa/etc.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/internal/rosa/etc.go b/internal/rosa/etc.go
index 25947c23..2281a0d5 100644
--- a/internal/rosa/etc.go
+++ b/internal/rosa/etc.go
@@ -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 {