[Fusionforge-commits] r14180 - trunk/tools/VM-scripts

Olivier Berger olberger at fusionforge.org
Mon Aug 22 17:34:12 CEST 2011


Author: olberger
Date: 2011-08-22 17:34:12 +0200 (Mon, 22 Aug 2011)
New Revision: 14180

Modified:
   trunk/tools/VM-scripts/build.sh
Log:
Add generation of .dput.cf and .mini-dinstall.conf

Modified: trunk/tools/VM-scripts/build.sh
===================================================================
--- trunk/tools/VM-scripts/build.sh	2011-08-22 15:34:06 UTC (rev 14179)
+++ trunk/tools/VM-scripts/build.sh	2011-08-22 15:34:12 UTC (rev 14180)
@@ -17,6 +17,41 @@
 # Pupulate the repo
 rm -rf /root/debian-repository
 mkdir -p /root/debian-repository
+
+if [ ! -f /root/.mini-dinstall.conf ]; then
+    cat >/root/.mini-dinstall.conf <<EOF
+
+[DEFAULT]
+
+archivedir = /root/debian-repository
+archive_style = flat
+
+architectures = all, i386, source
+generate_release = 1
+verify_sigs = 0
+
+max_retry_time = 3600
+
+mail_on_success = false
+
+[local]
+EOF
+fi
+
+if [ ! -f /root/.dput.cf ]; then
+    cat > /root/.dput.cf <<EOF
+
+[local]
+fqdn = localhost
+incoming = /root/debian-repository/mini-dinstall/incoming 
+method = local
+run_dinstall = 0
+allow_unsigned_uploads = yes
+post_upload_command = mini-dinstall -b
+allowed_distributions = local
+EOF
+fi
+
 mini-dinstall -b
 
 cd /root/fusionforge/src




More information about the Fusionforge-commits mailing list