]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/hibernate-util: drop support for kernels lacking /sys/power/resume_offset 35802/head
authorMike Yuan <me@yhndnzj.com>
Thu, 2 Jan 2025 03:32:00 +0000 (04:32 +0100)
committerMike Yuan <me@yhndnzj.com>
Thu, 2 Jan 2025 14:55:33 +0000 (15:55 +0100)
commitde69879b62d8c95d2f7b84a950d1b9cd783101e9
tree02d0da7f480ffc2ffcc3b749300056a49a962751
parent733bc1aee8bc9d3f0317b4b17864e61b18726c73
shared/hibernate-util: drop support for kernels lacking /sys/power/resume_offset

The current fallback path is actually unreliable, given
the kernel *supports* setting the resume offset through
cmdline after all, but just not exposed under /sys/.
For v258 let's drop it hence.

I didn't bump the baseline to 4.17, but merely documented
new requirement in README, because there's certainly more
compat stuff to drop between 4.3 and 4.17, and README is
a useful list for things to kill. We'll get to 5.4 eventually.
README
src/shared/hibernate-util.c