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

Bug#793556: jessie-pu: package mkvmlinuz/37+deb8u1



Control: tags -1 + moreinfo

On Fri, 2015-07-24 at 22:32 -0400, Milan Kupcevic wrote:
> mkvmlinuz/37+deb8u1 is fixing bug #741642 already fixed in sid/testing 
> to allow for smooth upgrade from wheezy to jessie. See attached diff.
> 
>  changelog             |    6 ++++++
>  kernel-image/postinst |    2 ++
>  kernel-image/postrm   |    2 ++

--- mkvmlinuz-37/debian/kernel-image/postinst   2012-06-28 21:01:13.000000000 -0400
+++ mkvmlinuz-37+deb8u1/debian/kernel-image/postinst    2015-07-23 22:45:48.000000000 -0400
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+echo >&2

Will the "mkvmlinuz" invocation later in the postinst ever possibly
produce output on stdout?

While I can see the intent behind the above (forcing "run-parts
--report" to output the script name to stderr rather than stdout), it
wasn't immediately obvious. The kernel handbook (in
https://kernel-handbook.alioth.debian.org/ch-update-hooks.html ),
suggests "exec </dev/null >&2", which seems much more idiomatic.

Regards,

Adam


Reply to: