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

Fixes: #5000
Signed-off-by: Warren Usui <warren.usui@inktank.com>