Bug#346327: How to fix this bug

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Sun Jan 8 14:57:32 UTC 2006


It seems the problem with this bug is that when you use grub, grub
writes some things to STDOUT, which of course with the recent changes in
make-kpkg, isn't allowed.  The simple fix is to do this in the postinst
for the kernel:

< system ("$postinst_hook $version $realimageloc$kimage-$version") &&

> system ("$postinst_hook $version $realimageloc$kimage-$version 1>&2") &&

That way whatever the postinst hook script does, it won't write to
stdout.

This made it install properly on my system.  Without it, update-grub is
terminated partway through its run, which is not a good thing.

Len Sorensen




More information about the Pkg-grub-devel mailing list