[Cdd-commits] r416 - projects/simple-cdd/trunk
CDD Subversion Commit
noreply at alioth.debian.org
Fri Aug 4 16:59:03 UTC 2006
Author: otavio
Date: Fri Aug 4 16:59:02 2006
New Revision: 416
Modified:
projects/simple-cdd/trunk/ (props changed)
projects/simple-cdd/trunk/build-simple-cdd
Log:
additional comments and TODO items, source conf file after setting variables...
Modified: projects/simple-cdd/trunk/build-simple-cdd
==============================================================================
--- projects/simple-cdd/trunk/build-simple-cdd (original)
+++ projects/simple-cdd/trunk/build-simple-cdd Fri Aug 4 16:59:02 2006
@@ -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
More information about the Cdd-commits
mailing list