summaryrefslogtreecommitdiffstats
path: root/src/usr/imgmgmt.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] Redact password from URIs displayed by imgfetch()Michael Brown2009-02-171-1/+12
|
* [image] Fail "imgexec"/"boot" if the image to execute is ambiguousMichael Brown2008-07-081-5/+9
| | | | | | | | | | | | | | | If there is more than one loaded image, refuse to automatically select the image to execute. There are at least two possible cases, with different "correct" answers: 1. User loads image A by mistake, then loads image B and types "boot". User wants to execute image B. 2. User loads image A, then loads image B (which patches image A), then types "boot". User wants to execute image A. If a user actually wants to load multiple images, they must explicitly specify which image is to be executed.
* Display name and status of each file as it is downloaded.Michael Brown2007-08-031-1/+1
|
* Allow images to hold references to the originating URI.Michael Brown2007-08-021-20/+14Star
| | | | Some shuffling around of the image management code; this needs tidying up.
* Removed debugging statements that should not have been checked in.Michael Brown2007-06-281-2/+0Star
|
* Quick hack to get image booting working againMichael Brown2007-06-281-37/+23Star
|
* Scripts temporarily deregister themselves while executing. ThisMichael Brown2007-06-091-1/+2
| | | | | allows us to avoid execution loops without having to hack around the image registration order.
* Keep HTTP progress updated, and display a progress indicator during theMichael Brown2007-01-291-3/+4
| | | | download
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-191-1/+1
|
* HTTP/DNS now working fully asynchronously. HTTP/IP addresses and anyMichael Brown2007-01-181-5/+8
| | | | other protocol won't work at the moment.
* Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviouslyMichael Brown2007-01-161-3/+3
| | | | | reflect the fact that they allocate and deallocate user memory (i.e. things reached through a userptr_t).
* Let ifmgmt.c take care of calling efree(), since it's the once whichMichael Brown2007-01-121-3/+13
| | | | | | | took out the contract to eventually call efree() when it called fetch(). Maintain the most recently loaded image at the start of the list, so that imgautoselect() will pick it.
* fetch() now knows nothing about struct image; it simply loads a file andMichael Brown2007-01-121-1/+1
| | | | returns the allocated buffer.
* Allow "imgexec" with no arguments to boot the file that was loaded withMichael Brown2007-01-121-0/+16
| | | | "kernel".
* Cleaner separation between imgXXX() functions and image_cmd.cMichael Brown2007-01-121-2/+75
|
* Add basic "fetch" and "imgstat" commands.Michael Brown2007-01-121-0/+45