aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/stage0.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-20 08:07:43 +0900
committerOphestra <cat@gensokyo.uk>2026-05-20 08:15:23 +0900
commitb482fd4abfb2b3765b1791915b31067a0f80fec7 (patch)
tree1cb95592a7f243aa920e3f4c497909a2e8bf9efb /internal/rosa/stage0.go
parent2e502ede6c885496f4ac0a480aa4e4e337c54f51 (diff)
internal/rosa: remove global handles
These no longer serve any purpose. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/stage0.go')
-rw-r--r--internal/rosa/stage0.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/rosa/stage0.go b/internal/rosa/stage0.go
index 55b26504..eff0c5a8 100644
--- a/internal/rosa/stage0.go
+++ b/internal/rosa/stage0.go
@@ -5,6 +5,10 @@ import (
"hakurei.app/internal/pkg"
)
+// Stage0 is the handle of the stage0 distribution tarball built on the
+// toolchain of stage [Std].
+var Stage0 = H("rosa-stage0")
+
func init() {
meta := Metadata{
Name: "rosa-stage0",
@@ -13,7 +17,7 @@ func init() {
}
native.MustRegister(meta.Name, func(t Toolchain) (*Metadata, pkg.Artifact) {
return &meta, t.New("rosa-stage0", 0, t.Append(nil,
- Bzip2,
+ H("bzip2"),
), nil, nil, `
umask 377
tar \