summaryrefslogtreecommitdiffstats
path: root/src/image/embedded.c
Commit message (Collapse)AuthorAgeFilesLines
* [legal] Add a selection of FILE_LICENCE declarationsMichael Brown2009-05-181-0/+2
| | | | | Add FILE_LICENCE declarations to almost all files that make up the various standard builds of gPXE.
* [image] Allow for zero embedded imagesMichael Brown2009-02-241-4/+9
| | | | | | | | | | | | | | | | | | 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.
* [image] Allow multiple embedded imagesMichael Brown2009-02-161-32/+77
| | | | | | | | | | This patch extends the embedded image feature to allow multiple embedded images instead of just one. gPXE now always boots the first embedded image on startup instead of doing the hardcoded DHCP boot (aka autoboot). Based heavily upon a patch by Stefan Hajnoczi <stefanha@gmail.com>.
* [misc] Fix building on OpenBSDMichael Brown2008-06-271-3/+2Star
| | | | | | | OpenBSD throws compiler warnings that we can't reproduce on Linux, for some reason. Original patch from Dewey Hylton <dewey@hyltown.com>.
* [embed] Add missing register_image() to image/embedded.cMichael Brown2008-06-041-0/+1
| | | | | | | | When the embedded image is a script, the unregister_image() performed by image/script.c corrupts memory, since image/embedded.c omitted the call to register_image(). This is the first bug fixed using Stefan Hajnoczi's gdb stub for gPXE.
* Added the embedded pxelinux payload patch from hpa.Michael Brown2008-01-081-0/+49