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

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Mon, 22 Nov 2004 18:55:44 -0700


Author: vagrant-guest
Date: Mon Nov 22 18:54:28 2004
New Revision: 230

Modified:
   people/vagrant/simple-cdd/build-simple-cdd
   people/vagrant/simple-cdd/default.preseed
Log:
attempt to install packages.


Modified: people/vagrant/simple-cdd/build-simple-cdd
==============================================================================
--- people/vagrant/simple-cdd/build-simple-cdd	(original)
+++ people/vagrant/simple-cdd/build-simple-cdd	Mon Nov 22 18:54:28 2004
@@ -100,6 +100,7 @@
 
 mkdir -p $simple_cdd_path/extras/simple-cdd
 cp -f $simple_cdd_path/default.preseed $simple_cdd_path/extras/simple-cdd/
+cp -f $simple_cdd_path/simple-cdd-packages.list $simple_cdd_path/extras/simple-cdd/
 
 # TODO modify default.preseed to include other files
 for a in $preseed_files ; do

Modified: people/vagrant/simple-cdd/default.preseed
==============================================================================
--- people/vagrant/simple-cdd/default.preseed	(original)
+++ people/vagrant/simple-cdd/default.preseed	Mon Nov 22 18:54:28 2004
@@ -56,12 +56,14 @@
 # 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 cp /cdrom/simple-cdd/simple-cdd-packages.list /target/root/
 # This command is run just as base-config is starting up.
 #base-config  base-config/early_command string echo hi mom
 # This command is run after base-config is done, just before the login:
 # prompt. This is a good way to install a set of packages you want, or to
 # tweak the configuration of the system.
 #base-config  base-config/late_command  string apt-get install zsh; chsh -s /bin/zsh
+base-config  base-config/late_command  string apt-get -yu install $(cat /root/simple-cdd-packages.list)
 
 #### Network configuration.