]> spindle.queued.net Git - xodist/blobdiff - release.sh
rework boot script for usb key to nand installer
[xodist] / release.sh
index e45329224ba2c59a8573ab5ed5596a13fb766544..681e2981e252fa1a335f24ca12d188f4f538a410 100755 (executable)
@@ -1,14 +1,16 @@
 #!/bin/bash -e
 
 # prepare a release
-for f in *.packages; do
-       desktop=$(echo $f | sed 's/\.packages//')
-       ./mkchroot.sh --package-list ${f} \
+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" \
+deb http://localhost:9999/security lenny/updates main contrib non-free
+deb http://localhost:9999/backports lenny-backports main contrib non-free" \
                        debxo-${desktop}
-       ./mkjffs2.sh debxo-${desktop} ${desktop}.img
-       ./mkext3.sh debxo-${desktop} debxo-${desktop}.ext3.img
+       ./mkjffs2.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