Bug 52019 - swsusp2 script to ease hibernate and suspend to ram (New package)
|
Bug#:
52019
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: johnm@gentoo.org
|
Reported By: earthwings@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
http://swsusp.sourceforge.net
|
|
Summary: swsusp2 script to ease hibernate and suspend to ram (New package)
|
|
Keywords: InCVS
|
|
Status Whiteboard:
|
|
Opened: 2004-05-25 09:20 0000
|
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 an attachment (id=35689) [details]
hibernate-script-0.95_rc1.ebuild
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 an attachment (id=36590) [details]
hibernate-script-0.97.ebuild
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
in gentoo-dev-sources.
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-2.0.0.104 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 ?
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.
Added sys-apps/hibernate-script-1.00 to portage. Closing as FIXED InCVS.