Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 222113 - sys-power/hibernate-script new version (1.99) available
Summary: sys-power/hibernate-script new version (1.99) available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 227113 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-14 17:13 UTC by nietonfir
Modified: 2009-01-08 23:31 UTC (History)
17 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-power/hibernate-script-1.99.ebuild (hibernate-script-1.99.ebuild,1.64 KB, text/plain)
2008-06-15 21:54 UTC, Laurento Frittella (mrfree)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nietonfir 2008-05-14 17:13:47 UTC
There's a new version of the hibernate-script (1.99) out there, but the portage version is still 1.98.1.

Reproducible: Always



Expected Results:  
add hibernate-script-1.99 to portage

I would provide an ebuild, but as I'm using openrc the ebuild is not very helpful as the installation would only work for people using the "old" init.

Could you please either add the ebuild supporting openrc to portage or post me some documentation or hints for adding openrc support to the package.

Thanks for your help.
Comment 1 Toby Ehrenkranz 2008-05-25 04:57:03 UTC
This update is fairly important since the older hibernate script doesn't work right with the newer tuxonice sources that are already in portage.

See this email thread from the tuxonice site:

http://lists.tuxonice.net/lurker/message/20080508.045326.bc7fcb39.en.html
Comment 2 Łukasz Damentko (RETIRED) gentoo-dev 2008-05-27 13:34:39 UTC
alonbl was retired (#147110), reassigning remaining bugs.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-15 15:03:12 UTC
*** Bug 227113 has been marked as a duplicate of this bug. ***
Comment 4 Laurento Frittella (mrfree) 2008-06-15 21:40:20 UTC
With the latest stable sys-kernel/tuxonice-sources-2.6.24-r9 and the stable hibernate-script-1.97-r4 I receive:

hibernate: Filewriter image (/suspend_file) is unrecognised.
hibernate: I'm not even going to attempt to use this file to suspend to.
hibernate: Please erase the contents of the existing file if you believe it
hibernate: to be safe, otherwise, please specify a new file.
hibernate: Aborting.

Even after erasing the existing file.
Comment 5 Laurento Frittella (mrfree) 2008-06-15 21:54:20 UTC
Created attachment 156997 [details]
sys-power/hibernate-script-1.99.ebuild

I attach the full ebuild for convenience, but it is the 1.98.1 ebuild with a very very little patch:

--- hibernate-script-1.98.1.ebuild	2008-04-05 17:58:10.000000000 +0200
+++ hibernate-script-1.99.ebuild	2008-06-15 23:45:28.331004873 +0200
@@ -9,7 +9,7 @@
 DESCRIPTION="Hibernate script supporting multiple suspend methods"
 HOMEPAGE="http://www.tuxonice.net/"
 SRC_URI="http://www.tuxonice.net/downloads/all/${P}.tar.gz
-	mirror://gentoo/${P}-patches-${PATCH_VERSION}.tar.bz2"
+	mirror://gentoo/${PN}-1.98.1-patches-${PATCH_VERSION}.tar.bz2"

The actual patchset (1.98.1) only contains a patch for the init.d script and it works with 1.99 too without any modification.
It works for me.
Comment 6 nietonfir 2008-06-15 22:05:36 UTC
(In reply to comment #5)
Obviously it works, it worked for me too as well, but the point, as stated in the initial bug post, is that I'm already running on baselayout2 aka openRc and the installation don't get installed for openrc but only for the old init as far as i can tell.

In two to three weeks from now I'll have plenty of time, then I will try to get this one working on openrc as well if it's not already fixed by then. ;)
Comment 7 Laurento Frittella (mrfree) 2008-06-16 08:30:01 UTC
What do you exactly mean with "the installation would only work for people using the "old" init"?

I'm using sys-apps/openrc-0.2.5 and all seems to work well
Comment 8 Zsolti 2008-06-26 15:33:27 UTC
attached ebuild works for me with sys-apps/openrc-0.2.5 as expected.
why isn't it in portage?
Comment 9 Ákos Maróy 2008-08-10 13:05:08 UTC
can you please put this in portage, at least as masked? see also bug #223645
Comment 10 Thanos Leontaris 2008-08-23 18:49:20 UTC
I second that. Without hibernate-script it is possible to hibernate with tuxonice kernels 2.6.25-r7 through 2.6.26. In the worst case someone should remove those kernels from the portage tree since they are currently useless for what they were intended for.
Comment 11 Thanos Leontaris 2008-08-29 17:36:48 UTC
This issue also breaks hibernation with tuxonice 2.6.24-r9. Please either remove those kernels (tuxonice 2.6.24 through 2.6.26) from the portage tree or add the new hibernation script.
Comment 12 Simon Bühler 2008-09-24 23:08:42 UTC
yes please add it to the tree, works here too
Comment 13 fabio de francesco 2008-09-27 01:14:38 UTC
Hi all,

I read that this bug has been opened this year on May and is assigned to  mobile@gentoo.org. Since then, four months ago, some people have reported having the same problem (with me too, now), asking the assignnee please to provide hibernate-script-1.99 to the Portage tree.

Have anybody read any reply from Mr.Mobile? Do any of you know whether or not any other developer is becoming interested to this issue?

Regards,

Fabio De Francesco
Comment 14 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-01-08 23:04:41 UTC
(In reply to comment #13)
> Have anybody read any reply from Mr.Mobile? Do any of you know whether or not
> any other developer is becoming interested to this issue?

mobile@g.o is a team, not a person. I've added myself as maintainer for
hibernate-script -- for now it's simple bump, I'll cleanup this package along
with stabilization of new version of tuxonice-{userui,sources}.

mobile: if you strongly disagree with my decision feel free to contact me.
Comment 15 Anton Bolshakov 2009-01-08 23:31:13 UTC
Thanks Pawlik.
Really appreciate it.