swsusp2 is a kernel patch that adds support for Suspend-To-Disk (aka hibernate). This ebuild does _not_ download/apply the patches, but installs the /sbin/hibernate script that's necessary for swsusp2.
This depends on bug #51696
Created attachment 32012 [details]
Created attachment 32013 [details, diff]
Sandbox support and change default /usr/local/sbin to /sbin
Created attachment 35689 [details]
This ebuild installs the new version it does not need the prefix.patch and
works with acpi s3 for my laptop. It does not need swsusp so I removed the
warnings. The hibernate bin is created in /usr/sbin.
Created attachment 36590 [details]
This is an updated Version, It does not depend on the swsusp2-kernel-patch as
it also works for suspend to ram, and in fact I only use it for suspend to ram.
So can you please add this to portage?
And for the Kernel part: There is also reiser4progs in portage and reiser4 not
Dennis, can you please change the title of this, so that other users may find it easier?
I use gentoo-dev-sources-2.6.8-r1 with swsusp2-184.108.40.206 and hibernate-script-0.98
Maybe the ebuild could be updated
Since 2.6.8, bootsplash was replaced with gensplash and therefor the file /usr/share/hibernate/scriptlets.d/bootsplash needs to be completly rewritten. I tried it, but without luck (Workaround: Removing it to prevent trouble)
this is an upstream issue, ask nigel ..
btw, this ebuild is not even in portage everyone can change the ebuild how he/she likes it and attach it if he/she thinks its better than mine
swsusp-2.0.66.ebuild seems to not patch the kernel for swsusp2. Am I right ?
Yes you are right, you need to patch your kernel manually for suspend2. If you want to use suspend-to(disk|ram) thn you do not need to patch your kernel, you need only this ebuild. Renam the ebuild from 0.97 to 0.99 to get the latest version.
Would those ebuild(s) be added to the master portage ?
Version 2.1 is out: http://softwaresuspend.berlios.de/#2.1
Announcement in lkml: http://groups.google.com/groups?hl=en&lr=&th=133ac9c65bcdafa7&rnum=1
this works perfectly well, it would be great to have it in portage, i believe it's a must.
also IMO it's better to call it suspend-script rather than hibernate-script because it's indeed a general purpose suspend script and can be used with different suspend methods.
Created attachment 43546 [details]
Ebuild for hibernate-script version 1.00 - not sure if it should be added to
Created attachment 43766 [details]
Updated version of the ebuild which defaults to /sys/power/state instead of
Added sys-apps/hibernate-script-1.00 to portage. Closing as FIXED InCVS.