Apparently not enough, wait-for-root returns the swap type as swsuspend,
and the resume script doesn't know that. I've fixed that too:

--- initramfs-tools-0.92bubuntu65/scripts/local-premount/resume 2010-02-17 
12:35:26.000000000 +0000
+++ initramfs-tools-0.92bubuntu65+pcjc2.1/scripts/local-premount/resume 
2010-02-21 16:29:24.000000000 +0000
@@ -24,7 +24,7 @@
 SWAPTYPE=$(wait-for-root "${resume}" ${RESUMEDELAY:-5})
 
 case "${SWAPTYPE}" in
-    s1suspend|s2suspend|ulsuspend|tuxonice)
+    swsuspend|s1suspend|s2suspend|ulsuspend|tuxonice)
        # hardcode path, uswsusp ships an resume binary too
        if [ -n "${resume_offset}" ]; then
                /bin/resume ${resume} ${resume_offset} >/dev/null 2>&1

Now my machine resumes ok.

-- 
[lucid regression] does not resume from hibernation, restarts fresh
https://bugs.launchpad.net/bugs/499940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to