Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198499 Details for
Bug 269603
sys-kernel/genkernel: add DWIM magic for swsusp_resume
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
foo
gk.patch (text/plain), 698 bytes, created by
Andrew Gaffney (RETIRED)
on 2009-07-19 19:48:23 UTC
(
hide
)
Description:
foo
Filename:
MIME Type:
Creator:
Andrew Gaffney (RETIRED)
Created:
2009-07-19 19:48:23 UTC
Size:
698 bytes
patch
obsolete
>diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts >index 66130ae..1f9372e 100755 >--- a/defaults/initrd.scripts >+++ b/defaults/initrd.scripts >@@ -858,7 +858,7 @@ rundebugshell() { > > swsusp_resume() { > # determine swap resume partition >- local device=$(ls -lL "${REAL_RESUME}" | sed 's/\ */ /g' | cut -d \ -f 5-6 | sed 's/,\ */:/') >+ local device=$(get_real_filename "${REAL_RESUME}") > [ -f /sys/power/resume ] && echo "${device}" > /sys/power/resume > return 0 > } >@@ -987,3 +987,13 @@ setup_unionfs() { > USE_UNIONFS_NORMAL=0 > fi > } >+ >+get_real_filename() { >+ local file=$1 >+ >+ if [ -L "${file}" ]; then >+ readlink ${file} >+ elif [ -f "${file}" ]; then >+ echo "${file}" >+ 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 269603
: 198499