gzip cpio
PATCH 1/1 gzip cpio
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. -------------- next part --------------
A non-text attachment was scrubbed...
Name: target-cpio.patch
Type: text/x-patch
Size: 1059 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070621/86e2606c/attachment.bin
PATCH 1/1 gzip cpio
Quoted 3 lines · Clark Rawlins
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).
thanks,
PATCH 1/1 gzip cpio
Quoted 10 lines · Bernhard Fischer
Quoted 3 lines · Clark Rawlins
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 attarget/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.
Cheers,
Chris
Signature · 9 lines
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 Desc: Url : http://busybox.net/lists/buildroot/attachments/20070801/78835336/attachment.bin