From 51a2fc5a867e696ed53a86433bb4da29a13c779c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20DUBOIN?= Date: Tue, 14 May 2024 14:32:11 +0200 Subject: [PATCH] chore(qemu): start kernel in terminal without timeout --- meson.build | 2 +- scripts/generate_iso.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 20e4cf8..9af866b 100644 --- a/meson.build +++ b/meson.build @@ -65,7 +65,7 @@ alias_target('iso', iso) qemu = find_program('qemu-system-i386', required: false) if qemu.found() run_target('qemu', - command: [qemu, '-cdrom', iso, '-serial', 'stdio'] + command: [qemu, '-cdrom', iso, '-nographic'] ) endif diff --git a/scripts/generate_iso.sh b/scripts/generate_iso.sh index 78ecfb2..f72173c 100755 --- a/scripts/generate_iso.sh +++ b/scripts/generate_iso.sh @@ -35,6 +35,7 @@ function generate_iso() # Add a custom multiboot entry for grub to be able to boot our kernel cat < "$iso_dir/boot/grub/grub.cfg" +set timeout=0 menuentry "Kernel - ${KERNEL_BIN%.*}" { multiboot /boot/$(basename "$KERNEL_BIN") }