diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-02-24 05:51:21 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-02-24 05:57:56 +0000 |
commit | 4f3bab1a55359a2623e098a6ed61e8d82145af77 (patch) | |
tree | 9f12c983dd2846d5b5f2d0598d928db9add7c51b /src/Makefile.housekeeping | |
parent | 43834f5d25273054679cb67ba7a5870f99b874b4 (diff) | |
download | ipxe-4f3bab1a55359a2623e098a6ed61e8d82145af77.zip ipxe-4f3bab1a55359a2623e098a6ed61e8d82145af77.tar.gz ipxe-4f3bab1a55359a2623e098a6ed61e8d82145af77.tar.bz2 |
[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.
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 2146d9c..2ab842e 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) |