]> spindle.queued.net Git - xodist/blob - release.sh
suppress dd(1) stderr
[xodist] / release.sh
1 #!/bin/sh -e
2
3 # prepare a release
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" \
9                         debxo-${desktop}
10         ./mkjffs2.sh debxo-${desktop} ${desktop}.img
11         ./mkext3.sh debxo-${desktop} debxo-${desktop}.ext3.img
12         gzip debxo-${desktop}.ext3.img
13
14         mkdir -p ext3 jffs2
15         mv debxo-${desktop}.ext3.img.gz ext3
16         mv ${desktop}.img ${desktop}.dat jffs2
17 done