BuildSystem: Add option to generate an ISO file

This creates ISO file with compressed initrd and grub files that can be
live booted easily
This commit is contained in:
2026-08-19 21:32:36 +03:00
parent 8f4db57ed8
commit 2c66de888f
3 changed files with 54 additions and 0 deletions
+9
View File
@@ -56,6 +56,12 @@ create_image () {
$BANAN_SCRIPT_DIR/image.sh "$1"
}
create_iso () {
build_target all
build_target install
$BANAN_SCRIPT_DIR/iso.sh
}
run_qemu () {
create_image
$BANAN_SCRIPT_DIR/qemu.sh $@
@@ -103,6 +109,9 @@ case $1 in
image-full)
create_image full
;;
iso)
create_iso
;;
qemu)
run_qemu -serial stdio $QEMU_ACCEL
;;