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

Re: dpkg modification: non-interactivity



Previously Kristoffer.Rose@ENS-Lyon.FR wrote:
> James LewisMoss writes:
> > I think a `half-configured' state is a bad idea.  Packages in their
> > postinst should pick suitable defaults for anything important.  They
> > should then run something like "register-interactive-command foobar" in
> > the postinst.

You have a new stage: configured-but-not-configured or so :)
Basically a state that says the user has configured the package but the
preinst/postinst have not run yet.

> I don't think that a special dpkg option is needed since the interactive
> configuration is merely the last step of normal configuration.  In fact the 
> users will think of the interactive configuration as *the* configuration.

No, it is done before packages are unpacked. In any case you need dpkg to
run the frontend when you do `dpkg -i' on a package, so dpkg will need a
few modifications.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpLpfSHNiTwl.pgp
Description: PGP signature


Reply to: