Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#6011 - [kernel26suspend2] use a /var/run/suspend2-new-kernel
Attached to Project:
Arch Linux
Opened by solsTiCe (zebul666) - Thursday, 14 December 2006, 21:29 GMT
Last edited by Thomas Bächler (brain0) - Tuesday, 08 May 2007, 22:28 GMT
Opened by solsTiCe (zebul666) - Thursday, 14 December 2006, 21:29 GMT
Last edited by Thomas Bächler (brain0) - Tuesday, 08 May 2007, 22:28 GMT
|
Detailshi.
i just read the README of hibernate-script (<grumble> i had to download the source to read the doc since i coudn't even have some descent doc with arch package</grumble>) '''Additionally, the hibernate script will look for a particular file before suspending (/var/run/suspend2-new-kernel) and if it is detected, will refuse to suspend. The idea is that your installation scripts for new kernels create this file, which prevents you from hibernating until you have booted your new kernel (or you remove the file manually if you know what you are doing). For example, kernel packages compiled with the Debian kernel-patch-suspend2 patches do this upon installation.''' Why does the arch suspend2 kernel package not do that ??? It will avoid a suspend with hibernate script while a new suspend2 kernel has just been installed , a new one that will not allow to resume ! it is a matter of adding a if...fi in post_upgrade and post_install in install file post_upgrade() { if pacman -Q hibernate-script 2>/dev/null ;then touch /var/run/suspend2-new-kernel fi } the problem is now to remove that /var/run/suspend2-new-kernel on the next boot. but there must be a way to do that cleanly ! |
This task depends upon
Comment by Thomas Bächler (brain0) -
Sunday, 17 December 2006, 23:25 GMT
I didn't know about this one. Looks cool, I think I will do this when I work on hibernate next time.