summaryrefslogtreecommitdiff
path: root/lib/sbin/CST
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-08-27 03:20:39 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-08-27 03:20:39 +0000
commitae1087d19f3f5fa38beebe3513c911b3f66fe355 (patch)
tree7fca87834110699068c6f5c9fa29b60b091baeae /lib/sbin/CST
parent0f32894d78d29b9d205ecfe4ee319a0f9112abee (diff)
Added tracking of options for thorn configuration scripts. Now a thorn
may specify OPTIONS a b c in a PROVIDES block in its configuration.ccl and these options will be tracked and stored in the configuration's config-info file. The config-info file, and any options file specified on the command line are now used to setup the environment before a configuration script is run by the CST. Note that the only options stored to the config-info file by the CST are ones specified in the configuration.ccl files, and configuration scripts are invoked each time the CST is run, so any option used by a thorn's configuration script MUST be mentioned in the configuration.ccl file to be remembered the next time the CST is invoked. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3855 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CST')
-rw-r--r--lib/sbin/CST7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/sbin/CST b/lib/sbin/CST
index d9e2c401..f15383e9 100644
--- a/lib/sbin/CST
+++ b/lib/sbin/CST
@@ -6,7 +6,7 @@
# @desc
# Parses the the configuration files for thorns.
# @enddesc
-# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/sbin/CST,v 1.71 2004-08-17 18:38:32 goodale Exp $
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/sbin/CST,v 1.72 2004-08-27 03:20:39 goodale Exp $
#@@*/
# Global parameter to track the number of errors from the CST
@@ -109,6 +109,11 @@ print "Parsing parameter files...\n";
print "Parsing schedule files...\n";
%schedule_database = &create_schedule_database(%source_thorns);
+# Run any configuration scripts.
+print "Running any thorn-privided configuration scripts...\n";
+
+&ProcessConfiguration($config_dir, $configuration_database,\%thorns,"$top/config-info");
+
print "Checking consistency...\n";
&check_schedule_database(\%schedule_database, %source_thorns);