aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/rosa.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-23 17:53:05 +0900
committerOphestra <cat@gensokyo.uk>2026-05-23 17:53:05 +0900
commit689f97297691beb266ded94e7b4fdcd4a36da51b (patch)
treefc453ea4be8b8c8f1dfc0c0601a15dc7a49a8f35 /internal/rosa/rosa.go
parent3f33b62dfdc9402eec55566204434efd6e842826 (diff)
internal/rosa/package: migrate stage0
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
-rw-r--r--internal/rosa/rosa.go20
1 files changed, 1 insertions, 19 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go
index 1d363204..0a61e9ec 100644
--- a/internal/rosa/rosa.go
+++ b/internal/rosa/rosa.go
@@ -111,7 +111,7 @@ const (
stageIntermediateGentoo
// stageStdGentoo is like Std, but bootstrapped from stageGentoo. This
- // toolchain creates the first [Stage0] distribution.
+ // toolchain creates the first stage0 distribution.
stageStdGentoo
// stageEarly denotes the stage0 toolchain. Special care must be taken
@@ -322,24 +322,6 @@ mkdir -vp /work/system/bin
)
}
-// NewStage0 returns a [pkg.Artifact] curing to a stage0 distribution.
-func (t Toolchain) NewStage0() pkg.Artifact {
- return t.New("stage0", 0, t.Append(nil,
- H("bzip2"),
- ), nil, nil, `
-umask 377
-tar \
- -vjc \
- -C /stage0 \
- -f /work/stage0-`+t.triple()+`.tar.bz2 \
- .
-`, pkg.Path(fhs.AbsRoot.Append("stage0"), false, t.Append(nil,
- _llvm,
- _mksh,
- _toyboxEarly,
- )...))
-}
-
// HasStageEarly returns whether a stage0 distribution is available.
func (s *S) HasStageEarly() (ok bool) {
func() {