Possible Solution for seeding Debconf?

Henning Glawe glaweh at physik.fu-berlin.de
Tue Sep 3 13:53:30 CEST 2002


Moin,
I just experimented a bit with the debconf database drivers. A possible
Solution for integrating debconf-preconfiguration into FAI would be the
Stack driver.

1) put directory "debconf" into $FAI, containing a 'fcopyable' DirTree
   structure

2) Now we have two possibilities:
   a) write a modified DirTree-databasedriver directly operating with FAI
      classes, use this as readonly driver for the debconf stack
   b) just after unpacking the base.tgz, recursively 
      'fcopy -s $FAI/debconf' to some directory on the client, use a
      debconf Stack and unmodified DirTree driver.

2a) is IMHO the best, but also most work-intesive solution; combined
    with the CVS update code contained in fcopy this would also allow
    updates:
    	class or file has changed: reconfigure the package(s) this
	question belongs to - done...


e.g:

$FAI/debconf/debconf/frontend/DEFAULT

Name: debconf/frontend
Template: debconf/frontend
Value: Noninteractive
Owners: debconf
Flags: seen




-- 
c u
henning



More information about the linux-fai mailing list