connman: package systemd files
[openembedded.git] / contrib / image-convert / cpio2tar
blob7f2c92fe26acb19508e372d71bcd74a54aee309b
1 #!/bin/sh
3 STAGING= #~/linux-ppc/build-oe-angstrom/tmp/staging/i686-linux/bin/
5 ${STAGING}fakeroot bash -c " \
6 rm -rf scratch; mkdir scratch; \
7 cd scratch; gzip -d -c ../$1 | cpio -i --make-directories; \
8 cd ..; \
9 tar -cj -C scratch -f $(basename $1 .cpio.gz).tar.bz2 ."