make: add serial-based headless boot target

This commit is contained in:
K. Lange 2019-12-17 11:58:03 +09:00
parent c75d31d7ca
commit 99f9ff429a

View File

@ -342,6 +342,12 @@ shell: image.iso
-fw_cfg name=opt/org.toaruos.term,string=${TERM} </dev/null >/dev/null & \
stty raw -echo && nc -l 127.0.0.1 8090 && stty sane && wait
.PHONY: serial
serial: image.iso
@qemu-system-i386 -cdrom $< ${QEMU_ARGS} \
-nographic -no-reboot \
-fw_cfg name=opt/org.toaruos.bootmode,string=headless
.PHONY: efi64
efi64: image.iso
qemu-system-x86_64 -cdrom $< ${QEMU_ARGS} \