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

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Mon, 22 Nov 2004 23:09:07 -0700


Author: vagrant-guest
Date: Mon Nov 22 23:08:47 2004
New Revision: 234

Modified:
   people/vagrant/simple-cdd/default.preseed
Log:
use a dir in /usr/local instead of /root for package selection


Modified: people/vagrant/simple-cdd/default.preseed
==============================================================================
--- people/vagrant/simple-cdd/default.preseed	(original)
+++ people/vagrant/simple-cdd/default.preseed	Mon Nov 22 23:08:47 2004
@@ -56,14 +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/
+d-i  preseed/late_command    string mkdir -p /target/usr/local/simple-cdd ; cp /cdrom/simple-cdd/* /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
 # 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)
+base-config  base-config/late_command  string apt-get -yu install $(cat /usr/local/simple-cdd/simple-cdd-packages.list)
 
 #### Network configuration.
 
@@ -319,3 +319,5 @@
 # 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