4 for f in *.packages; do
5 desktop=$(echo $f | sed 's/\.packages//')
6 ./initchroot.sh --package-list ${f} \
7 --local-apt-mirror "deb http://localhost:9999/debian lenny main contrib non-free
8 deb http://localhost:9999/security lenny/updates main contrib non-free" \
10 ./mkjffs2.sh debxo-${desktop} ${desktop}.img
11 ./mkext3.sh debxo-${desktop} debxo-${desktop}.ext3.img
12 gzip debxo-${desktop}.ext3.img
15 mv debxo-${desktop}.ext3.img.gz ext3
16 mv ${desktop}.img ${desktop}.dat jffs2