Handle both x86 and armv7l kernels.
Make sure overrides of sha1 numbers work.

Fixes: #5000
Signed-off-by: Warren Usui <warren.usui@inktank.com>
Brute force the setting of the kernel.  This code only works for ARM, and should go
away when we get a git-builder for ARM kernels.