mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 23:04:19 +08:00
Fix netbooting on Debian
In Debian Trixie OVMF has moved to a different location. In addition the bootrom of the network adapters no longer contains iPXE, so we need to manually chainload it (make sure to install the ipxe package).
This commit is contained in:
parent
f2b968f537
commit
472df6fb44
@ -25,6 +25,7 @@ else ifeq ($(ARCH),x86_64)
|
||||
QEMU_MEM?=2048
|
||||
ifeq ($(uefi),yes)
|
||||
FIRMWARE=$(firstword \
|
||||
$(wildcard /usr/share/ovmf/OVMF.fd) \
|
||||
$(wildcard /usr/share/OVMF/OVMF_CODE.fd) \
|
||||
)
|
||||
ifeq ($(FIRMWARE),)
|
||||
@ -176,6 +177,7 @@ else
|
||||
EXTRANETARGS=
|
||||
ifeq ($(netboot),yes)
|
||||
EXTRANETARGS+=,tftp=$(BUILD),bootfile=redox.ipxe
|
||||
QEMUFLAGS+=-kernel /usr/lib/ipxe/ipxe-amd64.efi
|
||||
endif
|
||||
|
||||
ifneq ($(bridge),)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user