Comment 5 for bug 14908

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: swsusp fails after automatic kernel upgrade

(In reply to comment #4)
> On kernel upgrades, we probably need to drop something that'll disable
> hibernate. Matt, what's the best way to deal with this?

I mailed you a script which tries to heuristically determine if we'll be using a
different kernel on the next boot. Your sentence above gave me an idea for how
to improve it even further:

Kernel upgrades already drop a file in /var/lib/update-notifier/user.d to
indicate to the user that they should reboot. Unfortunately, I think it's dated
based on the timestamp in the .deb, and not when it is installed, but perhaps it
could still be useful