[SLE-12280][SLE-15197] Hibernation proposed by Installer/Bootloader
Expectations are basically available here:
resume kernel parameter) is proposed for x86 only, excluding xen and kvm. On other architectures should not be proposed.
Feature description from trello:
Follow-up of https://trello.com/c/ULBrtwpz/
Adapt https://github.com/yast/yast-storage-ng/blob/master/src/lib/y2storage/arch.rb#L58 to use the new API that tells us whether hibernation is wanted/supported
- Code adapted to use the new method.
On s390x hibernation is not supported.
See also https://trello.com/c/ULBrtwpz/2144-3-couldhave-hibernation-proposed-by-installer-bootloader :
Dev: https://jira.suse.com/browse/SLE-15921 Epic: https://jira.suse.com/browse/SLE-12280 ### Hibernation disabled by default - HW: On all S390 and Power installations - Virtual / Physical: In all virtual systems - Products: In SLES, SUMA, etc. (server) ### Hibernation enabled by default - SLED, openSUSE, TW (except if ^^^ applies) ### Implementation details - Hibernation means "resume" in Kernel cmdline - Expectations define both include and exclude-lists, but that does not say how the code should look like (that's out of scope here) - Bootloader does not set "resume" parameter by default (if hibernation disabled) - ~~Storage proposal does not show "enlarge swap for suspend" (if hibernation disabled)~~ -- let's discuss this with @ancorgs first - User can obviously adapt bootloader config / storage as they wish - Ask in JIRA if they want that in summary screen (enabled/disabled/...) - Ask Ken for feedback ## Review - https://github.com/yast/yast-installation-control/pull/104 - https://github.com/yast/yast-yast2/pull/1115 - https://github.com/yast/skelcd-control-leanos/pull/69 - https://github.com/yast/skelcd-control-SLED/pull/101 - https://github.com/yast/yast-bootloader/pull/625 and https://github.com/yast/yast-bootloader/pull/626