Bug#554175: Bug#554171: grub2: add hook script for linux-2.6 make deb-pkg

2010-08-03 Thread Colin Watson
On Thu, Dec 31, 2009 at 03:52:17PM +0100, Harald Braumann wrote: It checks the value of DEB_MAINT_PARAMS to prevent running it twice on package purge. This parameter is set by kernels built with kernel-package. For official kernel builds, no such check exists, unfortunately, and update-grub

Bug#554175: Bug#554171: grub2: add hook script for linux-2.6 make deb-pkg

2009-12-31 Thread Harald Braumann
tags 554175 patch thanks Hi, attached is a script that can be used as a hook in /etc/kernel/{postinst,postrm}.d/. It checks the value of DEB_MAINT_PARAMS to prevent running it twice on package purge. This parameter is set by kernels built with kernel-package. For official kernel builds, no such