]> spindle.queued.net Git - xodist/blob - release.sh
debxo: drop gnome ubifs images
[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         [ -f ./configs/debxo-${desktop}/fstab-ubifs ] && ./mkubifs.sh --config-type debxo-${desktop} debxo-${desktop} ${desktop}.img
12         [ -f ./configs/debxo-${desktop}/fstab-ext3 ] && ./mkext3.sh --config-type debxo-${desktop} debxo-${desktop} \
13                         debxo-${desktop}.ext3.img
14         [ -f debxo-${desktop}.ext3.img ] && gzip debxo-${desktop}.ext3.img
15
16         mkdir -p ext3 nand
17         [ -f debxo-${desktop}.ext3.img.gz ] && mv debxo-${desktop}.ext3.img.gz ext3
18         [ -f ${desktop}.img ] && mv ${desktop}.img ${desktop}.dat nand
19 done