From: Geert Stappers <stapp...@stappers.nl>

When you try to build an iso but isolinux is not installed
an almost-empty is generated, which does not work.

Report-by: GrumpyFux
---
 src/arch/x86/Makefile.pcbios | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/arch/x86/Makefile.pcbios b/src/arch/x86/Makefile.pcbios
index c44eefc1..7ffd6e69 100644
--- a/src/arch/x86/Makefile.pcbios
+++ b/src/arch/x86/Makefile.pcbios
@@ -84,19 +84,19 @@ NON_AUTO_MEDIA      += iso
 %iso:  %lkrn util/geniso
        $(QM)$(ECHO) "  [GENISO] $@"
        $(Q)ISOLINUX_BIN=$(ISOLINUX_BIN) LDLINUX_C32=$(LDLINUX_C32) \
-           VERSION="$(VERSION)" bash util/geniso -o $@ $<
+           VERSION="$(VERSION)" bash -e util/geniso -o $@ $<
 
 # rule to make a floppy emulation ISO boot image
 NON_AUTO_MEDIA += liso
 %liso: %lkrn util/geniso
        $(QM)$(ECHO) "  [GENISO] $@"
-       $(Q)VERSION="$(VERSION)" bash util/geniso -l -o $@ $<
+       $(Q)VERSION="$(VERSION)" bash -e util/geniso -l -o $@ $<
 
 # rule to make a syslinux floppy image (mountable, bootable)
 NON_AUTO_MEDIA += sdsk
 %sdsk: %lkrn util/gensdsk
        $(QM)$(ECHO) "  [GENSDSK] $@"
-       $(Q)bash util/gensdsk $@ $<
+       $(Q)bash -e util/gensdsk $@ $<
 
 # rule to write disk images to /dev/fd0
 NON_AUTO_MEDIA += fd0
-- 
2.25.1

_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo/ipxe-devel

Reply via email to