forked from security/hakurei
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user