53#define CPIO_MAGIC "070701"
56#define CPIO_MODE_FILE 0100000
59#define CPIO_MODE_DIR 0040000
#define CPIO_ALIGN
CPIO header length alignment.
static size_t cpio_pad_len(size_t len)
Get CPIO header zero-padding length.
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.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
char * cmdline
Command line to pass to image.