Re: Hook to preload debconf answers
[Nikita V. Youshchenko]
> Is there any (semi)-official hook in d-i to preload answers to
> debconf database?
Hi. Nice to see more interest in the preloading of debconf answers. :)
First of all, there are two different systems at work here. The first
stage is called d-i, and uses cdebconf, while the second stage is
called base-config and uses debconf.
There is no streamlines system for preloading the cdebconf database in
d-i at the moment. There are a semi-manual way to do it, by supplying
a prebuilt database when the d-i "floppies" are built.
On the other hand, for the second stage which is doing the actuall
package installation, there is a system to do this. It is very new,
and not documented yet. The tools doing the work is in the debconf
package. Check debconf-get-selections and debconf-set-selections.
The hooks in base-config to load the answers are not uploaded into the
archive yet.
Reply to: