update_kernel: check for verity even when kernel partition is given

We still need to check for verity (to decide to update kernel modules and firmware) even if the
kernel partition is specified on the command line.

TEST=update_kernel.sh --partition=... to a system, make sure modules
  are still updated on a non-verity target.

Change-Id: I80539b5b1e0ab7b7cd052e4e7a4b2999a6b48772
Signed-off-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/176690
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
1 file changed