]> spindle.queued.net Git - xodist/blob - release.sh
mkext3: fix sparse image creation
[xodist] / release.sh
1 #!/bin/bash -e
2
3 # prepare a release
4 for f in configs/debxo-*; do
5         desktop=$(basename $f | sed 's/debxo-//')
6         ./mkchroot.sh --config-type debxo-${desktop} \
7                         --local-apt-mirror "deb http://localhost:9999/debian squeeze main contrib non-free
8 deb http://localhost:9999/security squeeze/updates main contrib non-free
9 deb http://localhost:9999/backports squeeze-backports main contrib non-free" \
10                         debxo-${desktop}
11         ./mkubifs.sh --config-type debxo-${desktop} debxo-${desktop} ${desktop}.img
12         ./mkext3.sh --config-type debxo-${desktop} debxo-${desktop} \
13                         debxo-${desktop}.ext3.img
14         gzip debxo-${desktop}.ext3.img
15
16         mkdir -p ext3 nand
17         mv debxo-${desktop}.ext3.img.gz ext3
18         mv ${desktop}.img ${desktop}.dat nand
19 done