diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-02-09 00:50:38 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-02-09 00:55:07 +0900 |
| commit | e1b8607101bf36db35782ca5a4f096007604a18c (patch) | |
| tree | 859d356544d4b079da53e2fcb9c8747de12dcc33 /internal/rosa/make.go | |
| parent | 3d3bd45b95d4f4e2c2c6c463329dde7702b8a381 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/make.go')
| -rw-r--r-- | internal/rosa/make.go | 8 |
1 files changed, 4 insertions, 4 deletions
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 \ |
