From bfca3db41e9af78e56e7a9b7f30121df83b6af0a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 17 May 2021 14:57:48 +0100 Subject: [cpio] Split out bzImage initrd CPIO header construction iPXE will construct CPIO headers for images that have a non-empty command line, thereby allowing raw images (without CPIO headers) to be injected into a dynamically constructed initrd. This feature is currently implemented within the BIOS-only bzImage format support. Split out the CPIO header construction logic to allow for reuse in other contexts such as in a UEFI build. Signed-off-by: Michael Brown --- src/arch/x86/image/initrd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/arch/x86/image/initrd.c') diff --git a/src/arch/x86/image/initrd.c b/src/arch/x86/image/initrd.c index 49b959a91..d7b1f5773 100644 --- a/src/arch/x86/image/initrd.c +++ b/src/arch/x86/image/initrd.c @@ -29,6 +29,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include #include #include +#include /** @file * -- cgit v1.2.3-55-g7522