internal/rosa/package: migrate stage0

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-23 17:53:05 +09:00
parent 3f33b62dfd
commit 689f972976
3 changed files with 28 additions and 37 deletions

View File

@@ -1,5 +1,31 @@
package stage0-dist {
package rosa-stage0 {
description = "Rosa OS stage0 bootstrap seed";
version = unversioned;
exclude = true;
source = hakurei-source;
extra = [
llvm,
mksh,
toybox-early,
];
overlay = "/stage0";
exec = generic {
build = `
umask 377
tar \
-vjc \
-C /stage0 \
-f /work/stage0-`+triple+`.tar.bz2 \
.
`;
};
inputs = [ bzip2 ];
}
package stage0-dist {
description = "Rosa OS stage0 bootstrap seed (binary distribution)";
exclude = true;
version* = "20260504";