[Buildroot] [PATCH] gzip cpio

Chris Malarky chris at malarky.org
Wed Aug 1 17:18:29 UTC 2007

On Thu, 2007-06-21 at 13:21 +0200, Bernhard Fischer wrote:
> On Thu, Jun 21, 2007 at 06:40:03AM -0400, Clark Rawlins wrote:
> >This patch is useful to me.  It permits gzipping the cpio archive after
> >creation.  This is my first attempt so if there are better, or more
> >correct ways to accomplish this I am interested in improving my changes.
> Problem is that somebody will show up sooner or later who wants to use
> another compressor (we've seen this with ext2 rootfs).
> Let me suggest you look at target/ext2/ext2root.mk
> and do the same COMPRESSOR fiddling (with cpio and any other target
> format).

Attached is a patch to add the same compression options to the cpio root
as to the ext2 root.

I'm only using gzipped cpio at the moment, but will gladly do the same
for other output formats if there is demand for it.

Chris Malarky
chris at malarky dot org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpioroot-compressor.patch
Type: text/x-patch
Size: 4635 bytes
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20070801/78835336/attachment-0003.bin>

More information about the buildroot mailing list