From 3f33b62dfdc9402eec55566204434efd6e842826 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 23 May 2026 17:44:38 +0900 Subject: internal/rosa/package: migrate system image The overlay argument also enables migration of stage0. Signed-off-by: Ophestra --- internal/rosa/images.go | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 internal/rosa/images.go (limited to 'internal/rosa/images.go') diff --git a/internal/rosa/images.go b/internal/rosa/images.go deleted file mode 100644 index 3c9b2fbf..00000000 --- a/internal/rosa/images.go +++ /dev/null @@ -1,29 +0,0 @@ -package rosa - -import ( - "hakurei.app/fhs" - "hakurei.app/internal/pkg" -) - -func init() { - meta := Metadata{ - Name: "system-image", - Description: "Rosa OS system image", - Version: Unversioned, - } - native.MustRegister(meta.Name, func(t Toolchain) (*Metadata, pkg.Artifact) { - return &meta, t.New("system.img", TNoToolchain, t.Append(nil, - H("squashfs-tools"), - ), nil, nil, ` -mksquashfs /mnt/system /work/system.img -`, pkg.Path(fhs.AbsRoot.Append("mnt"), false, t.Append(nil, - _musl, - _mksh, - _toybox, - - H("kmod"), - H("kernel"), - H("firmware"), - )...)) - }) -} -- cgit v1.3.1