FS#9535 - resume hook in mkinitcpio doesn't work with tuxonice
Attached to Project:
Arch Linux
Opened by Damjan Georgievski (damjan) - Monday, 11 February 2008, 21:49 GMT
Last edited by Greg (dolby) - Saturday, 17 May 2008, 16:21 GMT
Opened by Damjan Georgievski (damjan) - Monday, 11 February 2008, 21:49 GMT
Last edited by Greg (dolby) - Saturday, 17 May 2008, 16:21 GMT
|
Details
The resume hook in /lib/initcpio/hooks/resume as shipped
with mkinitcpio 0.5.17-2 doesn't work with tuxonice!
The problem is because of several reasoins.. one is, it's not longer /sys/power/suspend2 but /sys/power/tuxonice. Even more I suspect it works with the kernel suspend since I guess the klibc parseblock util changed how it works. This is the reason why TuxOnIce's support for kernel suspend doesn't work either. Attached is a script that works for me, but it would perhaps need some more refinement. PS. Does mkinitcpio have a public VCS repository? |
This task depends upon
http://projects.archlinux.org/git/?p=mkinitcpio.git;a=blob;f=hooks/resume;h=e4df259c8e7e8278839412aad79bf5d72525959a;hb=d16f3e4c39708ca0e3380b3458512409546d2568