Skip to content

Commit

Permalink
chore(qemu): start kernel in terminal without timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
d4ilyrun committed May 14, 2024
1 parent dc32ac0 commit 51a2fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions scripts/generate_iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function generate_iso()

# Add a custom multiboot entry for grub to be able to boot our kernel
cat <<EOF > "$iso_dir/boot/grub/grub.cfg"
set timeout=0
menuentry "Kernel - ${KERNEL_BIN%.*}" {
multiboot /boot/$(basename "$KERNEL_BIN")
}
Expand Down

0 comments on commit 51a2fc5

Please sign in to comment.