]> spindle.queued.net Git - xodist/blobdiff - release.sh
debxo-sugar: update packages for squeeze
[xodist] / release.sh
index f2c0130cc9e35907c8ec4ea00f529013e48eccd5..bc2be4a8355fe22968da0e98628a29704162f48a 100755 (executable)
@@ -1,17 +1,19 @@
 #!/bin/bash -e
 
 # prepare a release
-for f in *.packages; do
-       desktop=$(echo $f | sed 's/\.packages//')
-       ./initchroot.sh --package-list ${f} \
-                       --local-apt-mirror "deb http://localhost:9999/debian lenny main contrib non-free
-deb http://localhost:9999/security lenny/updates main contrib non-free" \
+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 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 debxo-${desktop} ${desktop}.img
-       ./mkext3.sh debxo-${desktop} debxo-${desktop}.ext3.img
+       ./mkubifs.sh --config-type debxo-${desktop} debxo-${desktop} ${desktop}.img
+       ./mkext3.sh --config-type debxo-${desktop} debxo-${desktop} \
+                       debxo-${desktop}.ext3.img
        gzip debxo-${desktop}.ext3.img
 
-       mkdir -p ext3 jffs2
+       mkdir -p ext3 nand
        mv debxo-${desktop}.ext3.img.gz ext3
-       mv ${desktop}.img ${desktop}.dat jffs2
+       mv ${desktop}.img ${desktop}.dat nand
 done