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

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Sun, 28 Nov 2004 20:44:50 -0700


Author: vagrant-guest
Date: Sun Nov 28 20:43:02 2004
New Revision: 290

Added:
   people/vagrant/simple-cdd/profiles/
   people/vagrant/simple-cdd/profiles/default.downloads
      - copied unchanged from r285, people/vagrant/simple-cdd/default.downloads
   people/vagrant/simple-cdd/profiles/default.packages
      - copied unchanged from r285, people/vagrant/simple-cdd/default.packages
   people/vagrant/simple-cdd/profiles/default.preseed
      - copied unchanged from r289, people/vagrant/simple-cdd/default.preseed
   people/vagrant/simple-cdd/profiles/lessdisks.downloads
      - copied unchanged from r285, people/vagrant/simple-cdd/lessdisks.downloads
   people/vagrant/simple-cdd/profiles/lessdisks.packages
      - copied unchanged from r285, people/vagrant/simple-cdd/lessdisks.packages
Removed:
   people/vagrant/simple-cdd/default.downloads
   people/vagrant/simple-cdd/default.packages
   people/vagrant/simple-cdd/default.preseed
   people/vagrant/simple-cdd/lessdisks.downloads
   people/vagrant/simple-cdd/lessdisks.packages
Modified:
   people/vagrant/simple-cdd/README
   people/vagrant/simple-cdd/build-simple-cdd
Log:
move profiles into separate directory, include seaction in readme about automatic select of profiles, improve readme description of profiles.


Modified: people/vagrant/simple-cdd/README
==============================================================================
--- people/vagrant/simple-cdd/README	(original)
+++ people/vagrant/simple-cdd/README	Sun Nov 28 20:43:02 2004
@@ -51,7 +51,19 @@
 
 to make a custom profile, think of a name for it, such as "lessdisks".
 
-edit or create lessdisks.preseed with relevent debconf questions, lessdisks.packages to include all packages you want automatically installed, and lessdisks.downloads to include additional packages that will be included on the CD, but not installed by default.
+edit or create files in the "profiles" directory, beginning with the profile
+name, and ending in .preseed, .packages, or .downloads.  for example:
+
+profiles/lessdisks.preseed  
+profiles/lessdisks.packages
+profiles/lessdisks.downloads
+
+.preseed  debconf questions loaded if the profile is selected
+
+.packages  packages installed when the profile is selected
+
+.downloads  additional packages included on a CD providing the profile,
+            but not installed by default
 
 add the profile to the list of profiles, in CONF.sh:
 
@@ -59,8 +71,21 @@
 
 do not remove the default profile, that could cause problems.
 
-when the base installation is finished, a menu should pop up asking you which
-profiles you want to install. select all the profiles you want.  
+after installing from the CD, during the initial boot, a menu should pop up
+asking you which profiles you want to install. select all the profiles you
+want, and the debconf preseed files will populate the debconf database, and the packages will be installed. 
+
+
+Automatically Selecting Profiles
+
+to automatically select profiles, in profiles/default.preseed, uncomment the
+line:
+
+simple-cdd simple-cdd/profiles multiselect default
+
+and all all profiles you want, separated by commas, i.e.:
+
+simple-cdd simple-cdd/profiles multiselect default, lessdisks
 
 
 Passing Boot Prompt Parameters

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 28 20:43:02 2004
@@ -18,7 +18,7 @@
 
 # include package and preseed files for profiles
 for p in $profiles ; do
-  pfile="$simple_cdd_dir/$p"
+  pfile="$simple_cdd_dir/profiles/$p"
   if [ -r "$pfile.preseed" ]; then
     preseed_files="$preseed_files $pfile.preseed"
   fi