Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140761 Details for
Bug 156445
[patch] Add support to genkernel for userspace suspend/resume (uswsusp)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
genkernel-3.4.9-uswsusp.patch
genkernel-3.4.9-uswsusp.patch (text/plain), 1.27 KB, created by
Alon Bar-Lev (RETIRED)
on 2008-01-12 08:45:12 UTC
(
hide
)
Description:
genkernel-3.4.9-uswsusp.patch
Filename:
MIME Type:
Creator:
Alon Bar-Lev (RETIRED)
Created:
2008-01-12 08:45:12 UTC
Size:
1.27 KB
patch
obsolete
>diff -urNp genkernel-3.4.9.org/generic/initrd.scripts genkernel-3.4.9/generic/initrd.scripts >--- genkernel-3.4.9.org/generic/initrd.scripts 2008-01-12 01:44:19.000000000 +0200 >+++ genkernel-3.4.9/generic/initrd.scripts 2008-01-12 10:38:54.000000000 +0200 >@@ -982,6 +982,18 @@ swsusp_resume() { > return 0 > } > >+suspend_resume() { >+ which resume > /dev/null 2>&1 || return >+ local args >+ local features="$(resume --version | grep FEATURES)" >+ [ -n "${REAL_RESUME}" ] && args="${args} --resume_device=\"${REAL_RESUME}\"" >+ if ! grep suspend_noui /proc/cmdline > /dev/null 2>&1; then >+ echo "${features}" | grep "fbsplash" > /dev/null && grep "splash=" /proc/cmdline > /dev/null && args="${args} --parameter=\"splash=y\"" >+ fi >+ [ -c /dev/snapshot ] || mknod /dev/snapshot c 10 231 >+ eval resume ${args} >+} >+ > tuxonice_resume() { > [ -d /proc/suspend2 -o -d /sys/power/suspend2 -o -d /sys/power/tuxonice ] || return > >diff -urNp genkernel-3.4.9.org/generic/linuxrc genkernel-3.4.9/generic/linuxrc >--- genkernel-3.4.9.org/generic/linuxrc 2008-01-12 01:44:19.000000000 +0200 >+++ genkernel-3.4.9/generic/linuxrc 2008-01-12 10:41:36.000000000 +0200 >@@ -281,7 +281,7 @@ rundebugshell > if [ "${NORESUME}" != '1' ] > then > swsusp_resume >-# suspend_resume >+ suspend_resume > # suspend2_resume > tuxonice_resume > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156445
:
102863
|
102918
|
102919
|
102986
|
129631
|
130076
|
130111
|
134504
|
136075
| 140761 |
379324