Repository navigation
Set hibernation up on an ARM computer only when asked to - #19617
Conversation
The installer runs omarchy-hibernation-setup on every install, and the script went ahead wherever the kernel offered hibernation. linux-omarchy for aarch64 is about to offer it, and on most ARM computers resuming still resets the machine and loses the session. So setup now skips an ARM computer unless it is called with --experimental, and keeps a machine that was set up that way up on later runs.
[Medium impact] The PR appears safe to merge; the ARM factory-reset failure is fixed. SummaryARM machines skip hibernation setup unless the owner passes
Reviews (3) · Last reviewed commit: "Keep an ARM computer's hibernation throu..." · Reviewed by Greptile |
A factory reset removes the resume hook before it calls hibernation setup, and stops when the swap file isn't back afterwards. With only the hook counting as set up, the call was skipped on an ARM computer that had hibernation. The swap file's line in /etc/fstab, which the reset keeps, counts now too.
|
Codex High (GPT-6) read the diff at 65b3cec, the review discussion, and the setup, factory-reset and migration callers. I classified this as a hardware compatibility fix because it prevents automatic setup of unreliable ARM hibernation while preserving an existing setup. The configured classification reviewer, deepseek-v4p1-flash, returned no usable class, so classification remains unsettled. No class labels were added, no worker tests ran, and no changes were pushed. This is waiting on the maintainer to resolve classification before verification continues; no second code review was performed. |
Since omacom/omarchy-iso#497 no installer runs omarchy-hibernation-setup, so the ARM gate from #19617 holds back only the owner who runs it by hand. Drop the gate and its --experimental flag, which made owners wary of trying it. A leftover --experimental is ignored like any other unknown argument.
…#20076) Since omacom/omarchy-iso#497 no installer runs omarchy-hibernation-setup, so the ARM gate from omacom#19617 holds back only the owner who runs it by hand. Drop the gate and its --experimental flag, which made owners wary of trying it. A leftover --experimental is ignored like any other unknown argument.
The installer runs
omarchy-hibernation-setupon every install, and the script goes ahead wherever the kernel offers hibernation. Omarchy's ARM kernel has hibernation off today, so nothing happens there. omacom/omarchy-pkgs#3179 turns it on so that hibernation can be worked on, and on most ARM computers resuming still resets the machine and loses the session.--experimental, and says so./etc/fstabcounts as set up too.This has to be merged before the kernel change is on edge.
Tests:
hibernation-setup-test.shhas a case for an ARM computer. The installer's call sets nothing up,--experimentaldoes, a rerun keeps it up, and so does a factory reset's call. It fails without the change.