Using Debconf to configure a system (Linux.com)
[Posted June 12, 2006 by ris]
Linux.com
covers the
Debconf configuration tool. "
Stripped to its essentials, Debconf is
a database of questions with a front end for users. It is not a registry of
settings, and does not make changes to the operating system
itself. Instead, Debconf is invoked by the config script in a Debian
package, and stores the user's answers for the postinst (post-install)
script in the package to use. The questions for each package are stored in
a .templates file in the package, and the same templates, with their
current answers, are available in /var/lib/dpkg/info. Common packages may
share the same template file to simplify configuration. Questions are
generally prefaced with an explanation of the choice being made, and, in
some cases, a button is provided for users to move back in the list of
questions to correct mistakes."
(
Log in to post comments)