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

Bug#602940: closed by Ben Hutchings <ben@decadent.org.uk> (Re: Bug#602940: linux-image-2.6.32-5-686_2.6.32-27_i386.deb)



On Tue, Nov 09, 2010 at 09:13:41PM +0100, ennio wrote:
> * Debian Bug Tracking System <owner@bugs.debian.org> [091110, 19:15]:
> > This is an automatic notification regarding your Bug report
> > which was filed against the linux-2.6 package:
> > 
> > #602940: linux-image-2.6.32-5-686_2.6.32-27_i386.deb
> > 
> > It has been closed by Ben Hutchings <ben@decadent.org.uk>.
> > 
> > [...]
> > 
> > This is your configuration error.
> > 
> > Remove the line 'postinst_hook = yes' from /etc/kernel-img.conf.
> > 
> > Ben.
> > 
> Hi Ben, thank you very much indeed for the quick answer.
> I must  have misunderstood the suggestion given in a previous update
> (Sept. 25th, 2010) about replacing the line 'do_bootloader = yes' with
> 'postinst_hook = yes', which I did simply as suggested, without touching
> anything else.

The actual message is:

"If the boot loader needs to be updated whenever a new kernel is
 installed, the boot loader package should install a script in
 /etc/kernel/postinst.d.  Alternately, you can specify the command
 to update the boot loader by setting the 'postinst_hook' variable
 in /etc/kernel-img.conf."

It appears that you missed the words 'specify the command'.

> Now, what triggers the /usr/bin/yes still remains a
> mistery to me.

You configured it to run after kernel installation/upgrade; that's what
postinst_hook means.

> May be this program shoud be given a different name,
> provided it is worth keeping it ;-).
 
'yes' is a common Unix utility and must not be removed.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus



Reply to: