52 #define CPIO_MAGIC "070701" 55 #define CPIO_MODE_FILE 0100000 58 #define CPIO_MODE_DIR 0040000 64 #define INITRD_ALIGN 4096
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define CPIO_ALIGN
CPIO header length alignment.
static size_t cpio_pad_len(size_t len)
Get CPIO header zero-padding length.
char * cmdline
Command line to pass to image.
size_t cpio_header(struct image *image, unsigned int index, struct cpio_header *cpio)
Construct CPIO header for image, if applicable.
static const char * cpio_name(struct image *image)
Get CPIO image name.