Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151721 - sys-kernel/genkernel-3.4.1, initrd suspend2 resuming via sysfs fails without legacy proc entries
Summary: sys-kernel/genkernel-3.4.1, initrd suspend2 resuming via sysfs fails without ...
Status: RESOLVED DUPLICATE of bug 148499
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 10:34 UTC by Lloeki
Modified: 2006-10-17 12:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lloeki 2006-10-17 10:34:36 UTC
with sys-kernel/genkernel-3.4.1, /usr/share/genkernel/generic/initrd.scripts has on line ~675:

suspend2_resume() {
        if [ -d /proc/suspend2 ]; then

which never succeeds (and thus never resumes) with recent versions of suspend2, since /proc support was dropped totally, in favor of /sys/power

thus it should be something more like:

suspend2_resume() {
        if [ -d /proc/suspend2 ] || [ -d /sys/power/suspend2 ]; then

or whatever some sh proficient guy (which I'm not) might come up with.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-17 12:30:42 UTC

*** This bug has been marked as a duplicate of 148499 ***