forked from Bananymous/banan-os
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:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user