[Debian-NP-Commits] r211 - people/vagrant/simple-cdd

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Thu, 18 Nov 2004 15:16:20 -0700


Author: vagrant-guest
Date: Thu Nov 18 15:16:10 2004
New Revision: 211

Modified:
   people/vagrant/simple-cdd/build-simple-cdd
   people/vagrant/simple-cdd/debpartial-mirror.conf
Log:
use debian-installer from sid, until sarge catches up.


Modified: people/vagrant/simple-cdd/build-simple-cdd
==============================================================================
--- people/vagrant/simple-cdd/build-simple-cdd	(original)
+++ people/vagrant/simple-cdd/build-simple-cdd	Thu Nov 18 15:16:10 2004
@@ -23,6 +23,17 @@
 # patched debpartial-mirror for cleaner output...
 http_proxy=http://localhost:3128 ./patched-debpartial-mirror -c debpartial-mirror.conf
 
+if [ ! -d "$MIRROR" ]; then
+  echo "ERROR: mirror dir not a dir: $MIRROR"
+  exit 1
+fi
+
+# FIXME workaround untill sarge debian-installer is viable.
+cd $MIRROR/dists
+echo "WORKAROUND: using sid installer instead of sarge installer"
+mkdir -p sarge/main/installer-i386/current
+rsync --delete -aWHr sid/main/installer-i386/current/. sarge/main/installer-i386/current/
+
 cd /usr/share/debian-cd
 
 echo simple-cdd: distclean

Modified: people/vagrant/simple-cdd/debpartial-mirror.conf
==============================================================================
--- people/vagrant/simple-cdd/debpartial-mirror.conf	(original)
+++ people/vagrant/simple-cdd/debpartial-mirror.conf	Thu Nov 18 15:16:10 2004
@@ -13,7 +13,7 @@
 
 # extra files list to be downloaded (this accepts regular expressions)
 #files=doc/(.*.txt)
-files=README doc/ tools/ indices/ dists/sarge/main/installer-i386/current/
+files=README doc/ tools/ indices/ dists/sid/main/installer-i386/current/
 
 # should I get the suggeted packages?
 get_suggests=false