Hello,
I would like to enable hibernation (aka suspend to disk) support to my LibreELEC powered Raspberry Pi 3B (in fact it's Lakka but it doesn't matter). I added CONFIG_HIBERNATING=y to the linux.arm.conf file. When I want to compile LibreELEC, it asks me for a hibernation swap partition, which is required (and must be enabled before hibernating).
When I looked at LibreELEC, I saw that we could create a swap file, but not a swap partition, which is understandable. But in order to hibernation to work, I need a swap partition. So here is my question : how can I add a swap partition to my SD card (or an external drive it doesn't matter), and is it possible to automate this process in the compilation process (because you know, creating a swap by hand each time I burn the image to the SD card is not optimal) ?
Thanks for your help