Harald Hoyer wrote:
> On 10/29/2009 10:27 AM, Alan Jenkins wrote:
>> 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
>>
>>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to