make: add serial-based headless boot target
This commit is contained in:
parent
c75d31d7ca
commit
99f9ff429a
6
Makefile
6
Makefile
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user