From e1b8607101bf36db35782ca5a4f096007604a18c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 9 Feb 2026 00:50:38 +0900 Subject: internal/rosa: rename stage0 toolchain This is stage0 relative to Rosa OS, and stage3 relative to the toolchain it is compiled on (Gentoo in this case). Referring to the toolchain itself as stage3 is counterintuitive and misleading. Signed-off-by: Ophestra --- internal/rosa/make.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/rosa/make.go') diff --git a/internal/rosa/make.go b/internal/rosa/make.go index c1c90bc2..f330a0ad 100644 --- a/internal/rosa/make.go +++ b/internal/rosa/make.go @@ -36,8 +36,8 @@ type MakeAttr struct { // Do not include default extras. OmitDefaults bool - // Dependencies not provided by stage3. - NonStage3 []pkg.Artifact + // Dependencies not provided by stage0. + NonStage0 []pkg.Artifact // Additional environment variables. Env []string @@ -148,8 +148,8 @@ func (t Toolchain) NewViaMake( panic("cannot remain in root") } - return t.New(name+"-"+version, attr.Flag, stage3Concat(t, - attr.NonStage3, + return t.New(name+"-"+version, attr.Flag, stage0Concat(t, + attr.NonStage0, finalExtra..., ), nil, attr.Env, scriptEarly+` /usr/src/`+name+`/configure \ -- cgit v1.3.1