diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-23 17:44:38 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-23 17:44:38 +0900 |
| commit | 3f33b62dfdc9402eec55566204434efd6e842826 (patch) | |
| tree | ba8150112f49e3c0b64b89bee4fc097e31ec6ce1 /internal/rosa/package/images | |
| parent | ac5488eef61c8f7e8b5b677ceb85b69df7384f42 (diff) | |
internal/rosa/package: migrate system image
The overlay argument also enables migration of stage0.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/images')
| -rw-r--r-- | internal/rosa/package/images/package.az | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/internal/rosa/package/images/package.az b/internal/rosa/package/images/package.az index 901d1491..786068c0 100644 --- a/internal/rosa/package/images/package.az +++ b/internal/rosa/package/images/package.az @@ -19,3 +19,27 @@ package initramfs-image { gen_init_cpio, ]; } + +package system-image { + description = "Rosa OS system image"; + version = unversioned; + exclude = true; + + source = earlyinit; + extra = [ + musl, + mksh, + toybox, + + kmod, + kernel, + firmware, + ]; + overlay = "/mnt"; + + exec = generic { + build = "mksquashfs /mnt/system /work/system.img"; + }; + + inputs = [ squashfs-tools ]; +} |
