[ipxe-devel] [PATCH] [cpio] Change truncated initramfs detection

Shao Miller sha0.miller at gmail.com
Fri Oct 26 00:12:31 UTC 2012


The attached patch is for wimboot.  - Shao

Subject: [PATCH] [cpio] Change truncated initramfs detection

When Syslinux prepares an initramfs "initrd", the last file blob will
not be padded to an initramfs alignment boundary.  We now determine
that the initrd is truncated based on the unaligned length of the
file data.

Tested-by: Brandon Penglase <bpenglase-ipxe at Spaceservices.net>
Signed-off-by: Shao Miller <sha0.miller at gmail.com>
---
 src/cpio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cpio-Change-truncated-initramfs-detection.patch
Type: application/octet-stream
Size: 1544 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20121025/29c26666/attachment.obj>


More information about the ipxe-devel mailing list