diff options
| author | Philip Balister <philip@balister.org> | 2008-02-12 13:42:34 +0000 |
|---|---|---|
| committer | Philip Balister <philip@balister.org> | 2008-02-12 13:42:34 +0000 |
| commit | 64efb6d640ada9fffcb4c98a1e4ae4f8d2bd0e9c (patch) | |
| tree | c5581b96374be871d59809b2934aa791ccc5bfdf /contrib/image-convert/cpio2tar | |
| parent | 73c9713cacf49f300e034bbb6b47df17caf29d4f (diff) | |
| parent | 3168ff71a18d3bfa339f0ccdace03878ab2094f2 (diff) | |
merge of '967336334b2d3b22623c9851eb0ab8a2f5ad19c2'
and 'f1ce41fae2ee4dc6bfc75fb8d991a37869ef24d8'
Diffstat (limited to 'contrib/image-convert/cpio2tar')
| -rwxr-xr-x | contrib/image-convert/cpio2tar | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/image-convert/cpio2tar b/contrib/image-convert/cpio2tar new file mode 100755 index 0000000000..7f2c92fe26 --- /dev/null +++ b/contrib/image-convert/cpio2tar @@ -0,0 +1,9 @@ +#!/bin/sh + +STAGING= #~/linux-ppc/build-oe-angstrom/tmp/staging/i686-linux/bin/ + +${STAGING}fakeroot bash -c " \ +rm -rf scratch; mkdir scratch; \ +cd scratch; gzip -d -c ../$1 | cpio -i --make-directories; \ +cd ..; \ +tar -cj -C scratch -f $(basename $1 .cpio.gz).tar.bz2 ." |
