[Toybox] [PATCH] cpio: support reading concatenated cpio files.

Rob Landley rob at landley.net
Sat Apr 17 03:59:04 PDT 2021


On 4/16/21 5:20 PM, enh wrote:
> funnily enough (or perhaps not, because yochiang knows a lot more about cpio
> than i do...) it looks like the AOSP build is broken because of trailing NULs...

Do you mean toybox cpio isn't consuming the output of gnu/cpio? (It consumed its
own output in the test suite, although I hadn't added a test to concatenate them.)

I just taught it to skip runs of NUL bytes between records, with a test
concatenating two archives. Does that help?

Rob


More information about the Toybox mailing list