Control: tag -1 patch

On Tue, 2016-03-08 at 10:17 +0000, Colin Watson wrote:
> On Tue, Mar 08, 2016 at 01:04:06AM +0000, Ben Hutchings wrote:
> > 
> > It appears that using debconf in a preinst or postinst script causes
> > debconf templates to be loaded automagically.  However, since version
> > 4.4.1-1~exp1 the linux-image-* packages only use debconf in the prerm
> > script.  In the case where the script asks a question, debconf does
> > not find the template and the prerm script fails.
> > 
> > The manual page for debconf-loadtemplate says it should never be used
> > from maintainer scripts, so I don't see how we're supposed to make
> > this work.
> Can you see if this patch works?  (If you're applying this directly to
> /usr/share/debconf/frontend, note that comments are stripped on
> installation, but it should be reasonably obvious what to do.)

Yes, this works for me.

Ben.

-- 
Ben Hutchings
When in doubt, use brute force. - Ken Thompson

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to