From 0268380764dc5cc33541643e603b32ce513ab963 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 3 Oct 2015 20:25:34 +0200 Subject: [PATCH] ipfire-netboot: Ship EFI image Signed-off-by: Michael Tremer --- config/rootfiles/common/x86_64/ipfire-netboot | 1 + lfs/ipfire-netboot | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/config/rootfiles/common/x86_64/ipfire-netboot b/config/rootfiles/common/x86_64/ipfire-netboot index b73261febb..33ec555040 100644 --- a/config/rootfiles/common/x86_64/ipfire-netboot +++ b/config/rootfiles/common/x86_64/ipfire-netboot @@ -1,2 +1,3 @@ #usr/share/ipfire-netboot +#usr/share/ipfire-netboot/ipxe.efi #usr/share/ipfire-netboot/ipxe.lkrn diff --git a/lfs/ipfire-netboot b/lfs/ipfire-netboot index a2607cdeff..6bcfa0566e 100644 --- a/lfs/ipfire-netboot +++ b/lfs/ipfire-netboot @@ -79,10 +79,17 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && tar axf $(DIR_DL)/ipxe-$(PXE_VER).tar.gz cd $(DIR_APP) && rm -rfv ipxe && ln -s ipxe-$(PXE_VER) ipxe cd $(DIR_APP) && make bin/ipxe.lkrn +ifeq "$(MACHINE)" "x86_64" + cd $(DIR_APP) && make bin-x86_64-efi/ipxe.efi +endif # Installation -mkdir -pv /usr/share/ipfire-netboot cd $(DIR_APP) && install -m 644 bin/ipxe.lkrn /usr/share/ipfire-netboot +ifeq "$(MACHINE)" "x86_64" + cd $(DIR_APP) && install -m 644 bin-x86_64-efi/ipxe.efi \ + /usr/share/ipfire-netboot +endif @rm -rf $(DIR_APP) @$(POSTBUILD) -- 2.39.2