frzr icon indicating copy to clipboard operation
frzr copied to clipboard

Allow resume from hibernation

Open NeroReflex opened this issue 1 year ago • 1 comments

This PR is aimed at appending to kernel boot parameters the btrfs offset and uuid of the file /home/swapfile when such file is present.

This in turn allows an initramfs that was generated with mkinitcpio containtaining the "resume" hook so resume from hibernation.

This PR is therefore required to support sleeping consoles that only supports S5 status.

NeroReflex avatar Mar 13 '24 00:03 NeroReflex

Very nice. But I don't think this will work after install since the swapfile does not exist yet. It is created by a service on first boot.

alkazar avatar Mar 31 '24 13:03 alkazar