From 4f3bab1a55359a2623e098a6ed61e8d82145af77 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 24 Feb 2009 05:51:21 +0000 Subject: [image] Allow for zero embedded images Having a default script containing #!gpxe autoboot can cause problems when entering commands to load and start a kernel manually; the default script image will still be present when the kernel is started and so will be treated as an initrd. It is possible to work around this by typing "imgfree" before any other commands, but this is counter-intuitive. Fix by allowing the embedded image list to be empty (in which case we just call autoboot()), and making this the default. Reported by alkisg@gmail.com. --- src/Makefile.housekeeping | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/Makefile.housekeeping') diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 2146d9cbf..2ab842e67 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -286,10 +286,6 @@ CFLAGS += $(EXTRA_CFLAGS) ASFLAGS += $(EXTRA_ASFLAGS) LDFLAGS += $(EXTRA_LDFLAGS) -# Embedded image(s), or default if not set -# -EMBEDDED_IMAGE = image/default.gpxe - # Inhibit -Werror if NO_WERROR is specified on make command line # ifneq ($(NO_WERROR),1) -- cgit v1.2.3-55-g7522