All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dracut-gencmdline: emit "resume="
@ 2009-10-29  9:27 Alan Jenkins
       [not found] ` <4AE95FEB.7090304-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Jenkins @ 2009-10-29  9:27 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

I haven't tested resume either way, but I can't imagine it working if
we don't tell it which device to use :-).

diff --git a/dracut-gencmdline b/dracut-gencmdline
index 978f5a2..625546c 100755
--- a/dracut-gencmdline
+++ b/dracut-gencmdline
@@ -711,5 +711,9 @@ if [ -n "$rootdev" ]; then
     echo -n "root=$rootdev "
 fi
 
+if [ -n "$swsuspdev" ]; then
+    echo -n "resume=$swsuspdev "
+fi
+
 echo
 # vim:ts=8:sw=4:sts=4:et


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-29 10:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29  9:27 [PATCH] dracut-gencmdline: emit "resume=" Alan Jenkins
     [not found] ` <4AE95FEB.7090304-cCz0Lq7MMjm9FHfhHBbuYA@public.gmane.org>
2009-10-29 10:02   ` Harald Hoyer
     [not found]     ` <4AE96826.4010908-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-10-29 10:06       ` Alan Jenkins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.