I found what kept initramfs from working here: While creating
of initramfs_data.cpio.gz, the padding between a file header
and the file contents was wrong, which can be verified by
unpacking the archive by hand.
The trivial patch below fixed this for me.
Arnd <><
===== usr/gen_init_cpio.c 1.3 vs edited =====
--- 1.3/usr/gen_init_cpio.c Tue Feb 4 23:29:14 2003
+++ edited/usr/gen_init_cpio.c Thu Feb 6 12:32:47 2003
@@ -192,6 +192,7 @@
0); /* chksum */
push_hdr(s);
push_string(location);
+ push_pad();
for (i = 0; i < buf.st_size; ++i)
fputc(filebuf[i], stdout);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:20 EST