mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 11:03:15 +03:00
Allow images to hold references to the originating URI.
Some shuffling around of the image management code; this needs tidying up.
This commit is contained in:
@@ -190,7 +190,7 @@ static size_t bzimage_load_initrd ( struct image *image,
|
||||
return 0;
|
||||
|
||||
/* Create cpio header before non-prebuilt images */
|
||||
if ( filename[0] ) {
|
||||
if ( filename && filename[0] ) {
|
||||
size_t name_len = ( strlen ( filename ) + 1 );
|
||||
|
||||
DBGC ( image, "bzImage %p inserting initrd %p as %s\n",
|
||||
|
||||
Reference in New Issue
Block a user