Skip to contentSkip to conversation

dracut-gencmdline: emit "resume="

PATCH In review Alan Jenkins 2 participants 3 messages Oct 29, 2009 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dracut-gencmdline: emit "resume="

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

dracut-gencmdline +4 -0
index 978f5a2..625546c 100755
@@ -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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 10 lines · Alan Jenkins

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

dracut-gencmdline +0 -0
index 978f5a2..625546c 100755

dracut-gencmdline if [ -n "$rootdev" ]; then · line 719

Quoted 9 lines
dracut-gencmdline +4 -0
@@ -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

well, it works, because it finds the suspend signature :-)

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 12 lines · Harald Hoyer
Quoted 11 lines · Alan Jenkins

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

dracut-gencmdline +0 -0
index 978f5a2..625546c 100755
@@ -711,5 +711,9 @@ if [ -n "$rootdev" ]; then
      echo -n "root=$rootdev "
  fi
 
Quoted 10 lines

dracut-gencmdline if [ -n "$rootdev" ]; then · line 719

Quoted 8 lines
dracut-gencmdline +4 -0
+if [ -n "$swsuspdev" ]; then
+    echo -n "resume=$swsuspdev "
+fi
+
  echo
  # vim:ts=8:sw=4:sts=4:et

well, it works, because it finds the suspend signature :-)

Ah, I missed the rules file. Clearly a failure of imagination on my part. Colour me impressed :).

Ta
Alan