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

Vagrant Cascadian debian-np-devel@lists.alioth.debian.org
Thu, 18 Nov 2004 19:59:34 -0700


Author: vagrant-guest
Date: Thu Nov 18 19:59:18 2004
New Revision: 214

Modified:
   people/vagrant/simple-cdd/build-simple-cdd
Log:
additional comments and TODO items, source conf file after setting variables...


Modified: people/vagrant/simple-cdd/build-simple-cdd
==============================================================================
--- people/vagrant/simple-cdd/build-simple-cdd	(original)
+++ people/vagrant/simple-cdd/build-simple-cdd	Thu Nov 18 19:59:18 2004
@@ -2,6 +2,8 @@
 
 # TODO add packages from commandline
 # TODO add packages from file given
+# TODO merge variables into the config file
+# TODO rename the configuration file
 
 simple_cdd_path="$HOME/nobackup/simple-cdd"
 
@@ -12,14 +14,18 @@
   exit 1
 fi
 
-. CONF.sh
-
+# include files that should be added to the task
 includes="/usr/share/debian-cd/tasks/debian-installer+kernel /usr/share/debian-cd/tasks/debian-installer /usr/share/debian-cd/tasks/base-sarge"
 
 # files which contain lists of packages
-package_files="$TASK"
+package_files=""
+
+# list of packages to mirror
+all_packages=""
+
+. CONF.sh
 
-for l in $package_files ; do
+for l in $package_files $TASK ; do
   all_packages="$all_packages $(egrep -v ^# $l)"
 done