dracut-gencmdline: emit "resume="
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
@@ -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]
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
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]
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@@ -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:etwell, 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