]> spindle.queued.net Git - xodist/blobdiff - release.sh
debxo: update kernel to 2.6.37-rcX
[xodist] / release.sh
index 8cca167fa7623e83d726d47019130b78cfcc2e76..681e2981e252fa1a335f24ca12d188f4f538a410 100755 (executable)
@@ -1,14 +1,16 @@
-#!/bin/sh -e
+#!/bin/bash -e
 
 # prepare a release
-for f in *.packages; do
-       desktop=$(echo $f | sed 's/\.packages//')
-       ./initchroot.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