Bug#481542: grub2: please user triggers

Felix Zielcke fzielcke at z-51.de
Thu Jul 31 20:56:54 UTC 2008


Am Donnerstag, den 31.07.2008, 16:46 -0400 schrieb Joey Hess:


> I didn't say that adding the new kernel failed. A later package could
> fail.
> 
> Or the power could fail before dpkg got around to calling the triggers.
> 
> Once apt trigger deferral is implemented, all the triggers will run at
> the very end of the apt run, which can be quite a long time after the
> kernel packages are removed and installed.

Urm yeah sorry that i misunderstood you.
That's really a good question how to deal with that.
But I doubt we could anything do on that case.

Either we use triggers and risk that it's not run by a powerloss,
or some apt/dpkg error elsewhere.
Or we just stay with the old method which is btw. not grub's fault,
but the kernel-team's which declare a postinst and postrm hook in
/etc/kernel-img.conf which get run on a kernel install or remove.






More information about the Pkg-grub-devel mailing list