Bug#219888: anna: Give the user full control of modules to be installed
On Mon, Nov 10, 2003 at 06:34:08PM +0100, Gaudenz Steinlin wrote:
> Having more choices in a select list at lower priority seems like a
> natural extension of the debconf priority concept to me.
You're right. I was just nitpicking about the technical mean...
(snip.)
> > - It's quite hard to write a long description for
> > anna/choose-modules which works in both cases.
> ACK.
So we're going to have two templates anyway. This fixes the warning
problem, too.
> > - We shouldn't break automatic installs, when the debconf DB already
> > has values.
> I don't see how my suggestion would break automatic installs. Just
> prefill the value of anna/choose_modules and set the question to seen
> and you should have full control over which udebs get installed.
If one launches an automatic installs at priority=critical, anna won't
include preselected modules in the question, and keep them at
di_package_status_want_install, and won't consider their removal from
the list. That's what the unshown question workaround is for.
BTW, anna does :
debconf_fset(debconf, ANNA_CHOOSE_MODULES, "seen", "false");
before the question is asked. I think there are other instances of this.
Maybe this sould be moved after we input the question ?
> This would also be possible, but I don't see why it should be needed. If
> you prefer to do it that why,
Yes ;-)
> I don't object
Good :-)
> > BTW: can I use a substitution for the Default: field, rather than
> > setting the value before the qustion is shown ?
> I don't know.
I'll try and see, so we don't need a "seen" test not to overwrite
prefilled values.
--
Jeremie Koenig <sprite@sprite.fr.eu.org>
Reply to: