Bug#597199: pm-utils : stash kernel on upgrades

2012-07-19 Thread Brian J. Murrell
On 12-07-19 08:07 AM, Michael Biebl wrote: > > It seems it actually does both: during thaw and boot. This is from > save-kernel-for-hibernate.conf: > > # make sure any previous hibernate grub menu item is cleared out > grub-mkconfig >/boot/grub/grub.cfg > > I assume this was done i

Bug#597199: pm-utils : stash kernel on upgrades

2012-07-19 Thread Michael Biebl
On 19.07.2012 12:51, Brian J. Murrell wrote: > On 12-07-18 06:24 PM, Michael Biebl wrote: >> What happens to those grub entries after a reboot? It seems to me they >> are left there as stale hibernate entries. > > No. They are cleaned out by the "resume|thaw" code path in > /etc/pm/sleep.d/20_up

Bug#597199: pm-utils : stash kernel on upgrades

2012-07-19 Thread Brian J. Murrell
On 12-07-18 06:24 PM, Michael Biebl wrote: > Hi, Hi Michael, > I need to be honest and say that I don't like the approach to do this > via a sysvinit or upstart script which does the copy on each and every > boot, even when > a/ the kernel doesn't actually change during runtime because it isn't >

Bug#597199: pm-utils : stash kernel on upgrades

2012-07-18 Thread Michael Biebl
Hi, On 18.07.2012 15:18, Brian J. Murrell wrote: > On 12-07-18 08:40 AM, Michael Biebl wrote: >> I stopped right there and didn't look any further > > And didn't even bother to respond as such? You submitted the patch just two weeks ago. At that point wheezy was already frozen. This means this