解决由于Makefile问题导致make run-uefi无法正常启动的问题 (#473)

This commit is contained in:
R0ronoa 2023-12-22 16:01:23 +08:00 committed by GitHub
parent 08a2ee4084
commit 070e991008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ write_diskimage:
# 写入磁盘镜像(uefi) # 写入磁盘镜像(uefi)
write_diskimage-uefi: write_diskimage-uefi:
bash -c "export ARCH=$(ARCH); cd tools && bash grub_auto_install.sh && sudo ARCH=$(ARCH)bash $(ROOT_PATH)/tools/write_disk_image.sh --bios=uefi && cd .." bash -c "export ARCH=$(ARCH); cd tools && bash grub_auto_install.sh && sudo ARCH=$(ARCH) bash $(ROOT_PATH)/tools/write_disk_image.sh --bios=uefi && cd .."
# 不编译直接启动QEMU # 不编译直接启动QEMU
qemu: qemu:
sh -c "cd tools && bash run-qemu.sh --bios=legacy --display=window && cd .." sh -c "cd tools && bash run-qemu.sh --bios=legacy --display=window && cd .."