Skip to content

mkinitfs: add support for resume

Carlo Landmeter requested to merge github/fork/stwa/mkinitfs-resume into master

Created by: stwa

This patch tries to add resume from hibernation (aka suspend to disk) support to mkinitfs. The swap partition can be provided via the resume option.

I know this feature is mostly needed on destops/notebooks, therefore I'm not sure if there is any interest for Alpine Linux. The default Alpine Linux kernel has no hibernation support compiled in, so you need to build a custom kernel in order to test this.

These links helped me on the topic:

As this might be a dangerous feature I would like to get your opinions.

Merge request reports