Deduce the date of the update from the dates of the kernel and rootfs

This fixes an issue where an update packing the same rootfs as
installed but a newer kernel would be reported as already installed.
Don't abort the build if the kernel or the rootfs is missing

Abort only if both are missing.
Verify SHA1 checksum with pre-calculated ones before updating

This is made to detect corruption.