Comment 2 for bug 1467553

Revision history for this message
Federico Gimenez (fgimenez) wrote : Re: automatic reboot fails with zero size kernel

In the steps above, if instead of the vmlinuz file you remove the initrd file in the new partition, when you try to reboot to apply the update the system detects the kernel panic and is able to automatically reboot into the good partition by itself.

It would be very useful if the system could autoreboot in case of a bad or empty kernel, especially for unattended devices, now it gets stuck and you need to power cycle the device to boot into the previous partition again, as you mentioned. More taking into account that now the update process download and application is automatic by default (managed by snappy-autopilot)