[ECOS] CDL template example?
Jonathan Larmour
jlarmour@redhat.com
Tue Dec 11 17:23:00 GMT 2001
Gary Thomas wrote:
>
> On Tue, 2001-12-11 at 15:34, Grant Edwards wrote:
> >
> > 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]
>
> Use 'ecosconfig import <file>'. While we generally use this to define
> a complete configuration, the file can actually be any CDL .ecm
> fragment. For example, I use this fragment to force ROM startup mode:
>
> ------- startup.ROM -----------
> cdl_component CYG_HAL_STARTUP {
> user_value ROM
> };
>
Although as was only recently discussed here, imported files can't _remove_
packages. For that, you need to have a new template with that package not
included, or use the "next smallest" template and add the missing packages.
(this is now bug 57324)
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss
mailing list