X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=release.sh;h=9238d25ea9e76b094247d60713706cefc8b49f41;hb=4352e15f6b81c24fb45a5eb69ff5a4e73641ac3a;hp=4f104b6b9477c9d0e59e2671b2e9fe34b1cc92d2;hpb=a8e61b63bc0c974672a548f0fd00b9d79d409ed6;p=xodist diff --git a/release.sh b/release.sh index 4f104b6..9238d25 100755 --- a/release.sh +++ b/release.sh @@ -4,15 +4,16 @@ for f in configs/debxo-*; do desktop=$(basename $f | sed 's/debxo-//') ./mkchroot.sh --config-type debxo-${desktop} \ - --local-apt-mirror "deb http://localhost:9999/debian lenny main contrib non-free -deb http://localhost:9999/security lenny/updates main contrib non-free" \ + --local-apt-mirror "deb http://localhost:9999/debian squeeze main contrib non-free +deb http://localhost:9999/security squeeze/updates main contrib non-free +deb http://localhost:9999/backports squeeze-backports main contrib non-free" \ debxo-${desktop} - ./mkjffs2.sh --config-type debxo-${desktop} debxo-${desktop} ${desktop}.img - ./mkext3.sh --config-type debxo-${desktop} debxo-${desktop} \ + [ -f ./configs/debxo-${desktop}/fstab-ubifs ] && ./mkubifs.sh --config-type debxo-${desktop} debxo-${desktop} ${desktop}.img + [ -f ./configs/debxo-${desktop}/fstab-ext3 ] && ./mkext3.sh --config-type debxo-${desktop} debxo-${desktop} \ debxo-${desktop}.ext3.img - gzip debxo-${desktop}.ext3.img + [ -f debxo-${desktop}.ext3.img ] && gzip debxo-${desktop}.ext3.img - mkdir -p ext3 jffs2 - mv debxo-${desktop}.ext3.img.gz ext3 - mv ${desktop}.img ${desktop}.dat jffs2 + mkdir -p ext3 nand + [ -f debxo-${desktop}.ext3.img.gz ] && mv debxo-${desktop}.ext3.img.gz ext3 + [ -f ${desktop}.img ] && mv ${desktop}.img ${desktop}.dat nand done