Skip to content
Commit 8578edf9 authored by Mario Limonciello's avatar Mario Limonciello
Browse files

Fix hibernate resuming from a swapfile

The kernel implementation works just fine, but initramfs-tools needs
a few changes to account for hibernate resuming from a swapfile.
* Look for the swap header at the resume offset specified on kernel cmd line
* Write directly to /sys/power/resume rather than rely on uswpswp.
parent 72b64196
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment