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

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Fri, 26 Nov 2004 00:23:16 -0700


Author: vagrant-guest
Date: Fri Nov 26 00:22:48 2004
New Revision: 261

Modified:
   people/vagrant/simple-cdd/default.downloads
   people/vagrant/simple-cdd/default.preseed
   people/vagrant/simple-cdd/simple-cdd-profiles
Log:
attempt to install debconf-utils before loading debconf template.


Modified: people/vagrant/simple-cdd/default.downloads
==============================================================================
--- people/vagrant/simple-cdd/default.downloads	(original)
+++ people/vagrant/simple-cdd/default.downloads	Fri Nov 26 00:22:48 2004
@@ -2,6 +2,9 @@
 kernel-image-2.4-386
 grub
 
+# debconf-utils is needed for simple-cdd profile selection
+debconf-utils
+
 # debian-installer wants to install these for some reason:
 mdetect
 read-edid

Modified: people/vagrant/simple-cdd/default.preseed
==============================================================================
--- people/vagrant/simple-cdd/default.preseed	(original)
+++ people/vagrant/simple-cdd/default.preseed	Fri Nov 26 00:22:48 2004
@@ -56,7 +56,7 @@
 # This command is run just before the install finishes, but when there is
 # still a usable /target directory.
 #d-i  preseed/late_command    string for deb in /hd-media/*.deb; do cp $deb /target/tmp; chroot /target dpkg -i /tmp/$(basename $deb); done
-d-i  preseed/late_command    string mkdir -p /target/usr/local/simple-cdd ; cp /cdrom/simple-cdd/* /target/usr/local/simple-cdd/
+d-i  preseed/late_command    string mkdir -p /target/usr/local/simple-cdd ; cp /cdrom/simple-cdd/* /cdrom/pool/main/d/debconf/debconf-utils_*.deb /target/usr/local/simple-cdd/
 # This command is run just as base-config is starting up.
 #base-config  base-config/early_command string echo hi mom
 base-config  base-config/early_command string /usr/local/simple-cdd/simple-cdd-profiles
@@ -326,5 +326,3 @@
 # preseed files, includes those files. For example, to switch configs based
 # on a particular usb storage device (in this case, a built-in card reader):
 #d-i  preseed/include_command string if $(grep -q "GUID: 0aec3050aec305000001a003"  /proc/scsi/usb-storage-*/*); then echo kraken.cfg; else echo otherusb.cfg; fi
-
-# TODO use preseed/include and/or preseed/include_command for simple-cdd

Modified: people/vagrant/simple-cdd/simple-cdd-profiles
==============================================================================
--- people/vagrant/simple-cdd/simple-cdd-profiles	(original)
+++ people/vagrant/simple-cdd/simple-cdd-profiles	Fri Nov 26 00:22:48 2004
@@ -2,6 +2,10 @@
 
 cd /usr/local/simple-cdd
 
+echo "preparing to configure simple-cdd profiles..."
+
+dpkg -i ./debconf-utils_*.deb
+
 debconf-loadtemplate simple-cdd ./simple-cdd.templates
 
 # load debconf