This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
CDL template example?
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 11 Dec 2001 16:34:53 -0600
- Subject: [ECOS] CDL template example?
I'd like to have some way to pre-define "canned"
configurations. I get the impression that this is what a
"template" is, but I can't find any documentation or examples.
What I'd like is a way to pre-define a configuration that would
be the same as the result of doing something like:
ecosconfig new foobar
ecosconfig remove this-package
ecosconfig add that-package theother-package
[edit ecos.ecc to set user-values for a handfull of package options]
I currently use a shellscript to automate everything except the
last bit where I set a bunch of user-values. The ecos.ecc file
isn't very amenable to using awk/sed to set values, so I
haven't figured out how to automate that. Any ideas?
--
Grant Edwards
grante@visi.com