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

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Sun, 21 Nov 2004 15:39:22 -0700


Author: vagrant-guest
Date: Sun Nov 21 15:39:05 2004
New Revision: 225

Modified:
   people/vagrant/simple-cdd/CONF.sh
   people/vagrant/simple-cdd/build-simple-cdd
Log:
options for taking additional pre-seed files, put default preseed file in a standard place.


Modified: people/vagrant/simple-cdd/CONF.sh
==============================================================================
--- people/vagrant/simple-cdd/CONF.sh	(original)
+++ people/vagrant/simple-cdd/CONF.sh	Sun Nov 21 15:39:05 2004
@@ -297,7 +297,12 @@
 export MAXCDS=1
 export TASK=$simple_cdd_path/simple-cdd.task
 export INSTALLER_CD=2
-export KERNEL_PARAMS="preseed/file=/cdrom/preseed.cfg"
+export KERNEL_PARAMS="preseed/file=/cdrom/simple-cdd/default.preseed"
+
+# additional debconf pre-seeding files (suitable for use with
+# debconf-set-selections)
+preseed_files=""
+
 # increase the size limit if debian-cd tries to make more CDs than you
 # want, and the generated CDs are smaller than 650MB.
 export SIZELIMIT=739631360

Modified: people/vagrant/simple-cdd/build-simple-cdd
==============================================================================
--- people/vagrant/simple-cdd/build-simple-cdd	(original)
+++ people/vagrant/simple-cdd/build-simple-cdd	Sun Nov 21 15:39:05 2004
@@ -98,6 +98,14 @@
 echo simple-cdd: packages
 make packages
 
+mkdir -p $simple_cdd_path/extras/simple-cdd
+cp -f $simple_cdd_path/default.preseed extras/simple-cdd/
+
+# TODO modify default.preseed to include other files
+for a in $preseed_files ; do
+  cat $a >> $simple_cdd_path/extras/simple-cdd/default.preseed
+done
+
 echo simple-cdd: extra fils for simple-cdd
 make bin-extras CD=1 ROOTSRC=$simple_cdd_path/extras DIR=.