[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debconf preloading, standard method?



On Wed, 2002-07-31 at 14:10, Joey Hess wrote:
> What I'm leaning toward doing is making a special dbdriver for debconf
> that supports this type of thing. You would stack it underneath your
> other debconf db's, and possibly enable it with an environment variable
> that pointed to the defaults file. The defaults file would have a simple
> format like:
I like using environment variables to change the preferences for the
specific run. :)

> question: foo
> debconf/frontend: text
> bar/baz: true

Yeah, easy to edit too.

> config.dat file.. Then you don't really have to do any database
> preloading, just set up the defaults file.

Very cool.

> Does this seem sane? I haven't ever had to do this so I may not know all
Yes.  Much saner than trying to extract all the templates to actually
seed the config.dat file.  Very straightforward too.

Does anything need to be done, or would you rather write this yourself? 
I'm not familiar with debconf internals, but I'm pretty enthusiastic
about what I'm working on here right now and would like to help if
possible.

Thanks.
 
-- 
Scott Dier <dieman@ringworld.org> http://www.ringworld.org/



Reply to: