[Merge] ~jefferyto/ubuntu/+source/initramfs-tools:ubuntu-core-dev-hibernate-fixes into ~ubuntu-core-dev/ubuntu/+source/initramfs-tools:ubuntu/devel
Jeffery To
mp+467060 at code.launchpad.net
Tue Jun 11 05:12:57 UTC 2024
That change "works" but is misleading/incorrect. The case statement is testing for when the system is resuming. By adding "swap", this changes the case to apply for all boots, both normal and resume; with this change, plymouth will print "Resuming from ..." for normal boots.
Setting /sys/power/resume with an "invalid" value is not harmful. systemd (as part of the EFI change) will not allow hibernation to start unless the resume value refers to a swap device. The kernel will not attempt to resume unless the device contains a resume image (the resume value is ignored and the kernel continues with a normal boot).
--
https://code.launchpad.net/~jefferyto/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/467060
Your team Ubuntu Core Development Team is subscribed to branch ~ubuntu-core-dev/ubuntu/+source/initramfs-tools:ubuntu/devel.
More information about the Ubuntu-reviews
mailing list