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

Re: Howto to make a configuration package for others debs



> I can configure the packages with heimdal-clients, openafs-client,
> libnss-ldap using preseed.  But to configure libpam-ldap, libpam-krb5
> and libpam-openafs-session I need to edit the configuration files.  I
> could try to patch the configuration files, but there is a better way?

if the packages provide a script to customize the package, you should
use it.  for example, you can use /usr/sbin/update-inetd to customize
/etc/inetd.conf

> How do I store the configuration inside my package, so in the end I
> have all the packages, that it depends, configured for the way I need?

this can be very difficult to do well.  cddtk
(http://wiki.debian.net/?CDDTool) is a recent attempt to handle some of
this better(and a whole lot more)- but it is not yet finished.

> Can I call debconf-set-selections during installation of
> tp-openafs-log?  How is your experience making CDD?

the debconf preseeding probably needs be handled outside the scope of
package installation, i believe. this means manually running a script
before installing the package, or including hooks to base-config or
debian-installer to load the debconf preseeding.

another approach is to provide another package which provides a script
to load the debconf preseeding that is run manually, and then install
the packages you want.

i know it's not as simple as you might like, but that's the current
situation- we are all working on improving it for the future :)

good luck.

live well,
  vagrant

Attachment: signature.asc
Description: Digital signature


Reply to: