blob: 7bf158e4a58e4d3209770bb81f90ea139aa8f108 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
STAGING= #~/linux-ppc/build-oe-angstrom/tmp/staging/i686-linux/bin/
${STAGING}fakeroot bash -c " \
rm -rf scratch; mkdir scratch; \
tar -xj -f $1 -C scratch; \
${STAGING}mkfs.jffs2 -x lzo --root=scratch --faketime --output=$(dirname $1)/$(basename $1 .tar.bz2).jffs2"
|