solus-project / os-installer

Solus Installer

Home Page:https://solus-project.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installer doesn't record `resume=` parameter for resume-from-suspend

ikeydoherty opened this issue · comments

We should be recording the resume=UUID=$SwapUUID to the cmdline when installing Solus, so that people can properly resume from sleep/suspend without having users edit things.

TODO:

  • Write custom /etc/default/grub with the DEFAULT Cmdline edited
  • Write it in the UEFI entry

Source: https://plus.google.com/u/0/+UnBarbu/posts/45GfrFLYTYL

Given we now actually alter parameters for rd.luks.uuid, we should extend the behaviour
to write the resume= parameter:

30183c6