The existing hook mechanism is fine IMO, the ubuntu-core-upgrader uses the "reboot" hook to apply the update successfully. The only wart left here is bug #1381538 - i.e. the name "reboot" for the hook is misleading because the core image will not always reboot, only when there are new kernels.
The existing hook mechanism is fine IMO, the ubuntu- core-upgrader uses the "reboot" hook to apply the update successfully. The only wart left here is bug #1381538 - i.e. the name "reboot" for the hook is misleading because the core image will not always reboot, only when there are new kernels.