Summary: | cpio archives with option -H newc are bad and breaks genkernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Klug <ski.brimson> |
Component: | [OLD] baselayout | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | bad cpio file with option -H newc |
Description
John Klug
2009-12-17 05:32:18 UTC
Created attachment 213263 [details]
bad cpio file with option -H newc
created via:
$ find . | cpio -Hnewc -oF busynewc.cpio
Has zero length files.
$ find . | cpio -oF busyvanilla.zip Sorry about the file name, but this is actually a vanilla cpio archive with the default header type. This can be used to test cpio -H newc for errors. <http://www.snapdrive.net/files/472996/busyvanilla.zip> After looking at this, I am not exactly sure what was wrong. I re-emerged genkernel. I did not re-emerge cpio. The initramfs did indeed create a zero length busybox, with all linked together to zero length. However, it is not happening anymore on my system, and the cpio archives I created list out as having zero length, but the files themselves are OK. |