[Debian-NP-Commits] r303 - in people/vagrant/simple-cdd: . profiles

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Fri, 03 Dec 2004 16:21:01 -0700


Author: vagrant-guest
Date: Fri Dec  3 16:20:33 2004
New Revision: 303

Modified:
   people/vagrant/simple-cdd/CONF.sh
   people/vagrant/simple-cdd/README
   people/vagrant/simple-cdd/profiles/freekbox3.packages
Log:
document how to make customized configuration scripts, comment out sndconfig - it is no longer in debian.


Modified: people/vagrant/simple-cdd/CONF.sh
==============================================================================
--- people/vagrant/simple-cdd/CONF.sh	(original)
+++ people/vagrant/simple-cdd/CONF.sh	Fri Dec  3 16:20:33 2004
@@ -22,6 +22,11 @@
 # path to simple-cdd files
 simple_cdd_dir=$(pwd)
 
+# extra files to include onto the CD
+# these will get copied to /simple-cdd dir on the CD, and get installed into
+# /usr/local/simple-cdd on the installed system.
+all_extras=""
+
 # location of debian-cd files
 debian_cd_dir=/usr/share/debian-cd
 #debian_cd_dir=$simple_cdd_dir/debian-cd

Modified: people/vagrant/simple-cdd/README
==============================================================================
--- people/vagrant/simple-cdd/README	(original)
+++ people/vagrant/simple-cdd/README	Fri Dec  3 16:20:33 2004
@@ -134,7 +134,32 @@
 
 More Fun and Adventures
 
-Testing with qemu in non-graphical mode
+Post and Pre Installation Hooks
+
+if you need to do some customization that cannot be handled by debconf
+preseeding, write a script doing what you need to do... and
+
+in CONF.sh:
+
+all_extras="/path/to/my-custom-script"
+
+and then in profiles/default.preseed, depending on exactly when and where you
+want you custom script to be run(see profiles/default.preseed for more detailed
+explaination of what gets run when):
+
+d-i  preseed/early_command   string /cdrom/my-custom-script
+
+d-i  preseed/late_command    string mkdir -p /target/usr/local/simple-cdd ; cp /cdrom/simple-cdd/* /target/usr/local/simple-cdd/ ; /target/usr/local/simple-cdd/my-custom-script
+
+base-config  base-config/early_command string /usr/local/simple-cdd/simple-cdd-profiles ; /usr/local/simple-cdd/simple-cdd-preseed ; /usr/local/simple-cdd/my-custom-script
+
+base-config  base-config/late_command  string /usr/local/simple-cdd/my-custom-script
+
+NOTE: simple-cdd uses some of these debconf questions, so be careful when
+modifying those questions, or you may break simple-cdd.
+
+
+Testing With Qemu in Non-Graphical Mode
 
 i tested this code out entirely with qemu over a slow ssh connection,
 so i needed to figure out how to get serial console working...

Modified: people/vagrant/simple-cdd/profiles/freekbox3.packages
==============================================================================
--- people/vagrant/simple-cdd/profiles/freekbox3.packages	(original)
+++ people/vagrant/simple-cdd/profiles/freekbox3.packages	Fri Dec  3 16:20:33 2004
@@ -537,7 +537,8 @@
 slang1
 slang1a-utf8
 smbclient
-sndconfig
+# sndconfig has been removed from debian sarge and sid.
+#sndconfig
 sox
 ssh
 strace