The patch titled add support for reading stdin with gen_init_cpio has been added to the -mm tree. Its filename is add-support-for-reading-stdin-with-gen_init_cpio.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: add support for reading stdin with gen_init_cpio From: Mike Frysinger <vapier@xxxxxxxxxx> Treat an argument of "-" as meaning "read stdin for cpio files" so gen_init_cpio can be piped into. Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> Cc: Sam Ravnborg <sam@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- usr/gen_init_cpio.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -puN usr/gen_init_cpio.c~add-support-for-reading-stdin-with-gen_init_cpio usr/gen_init_cpio.c --- a/usr/gen_init_cpio.c~add-support-for-reading-stdin-with-gen_init_cpio +++ a/usr/gen_init_cpio.c @@ -498,7 +498,9 @@ int main (int argc, char *argv[]) exit(1); } - if (! (cpio_list = fopen(argv[1], "r"))) { + if (!strcmp(argv[1], "-")) + cpio_list = stdin; + else if (! (cpio_list = fopen(argv[1], "r"))) { fprintf(stderr, "ERROR: unable to open '%s': %s\n\n", argv[1], strerror(errno)); usage(argv[0]); _ Patches currently in -mm which might be from vapier@xxxxxxxxxx are origin.patch add-support-for-reading-stdin-with-gen_init_cpio.patch dont-force-uclinux-mtd-map-to-be-root-dev.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html