scripts: support for optional hypervisor kernel.

BUG=b:145357269
TEST=build and update eve-manatee with/without hypervisor.

Change-Id: I0e8aa49f7b13894b598feac444ad2f11622532b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2391302
Tested-by: Tomasz Jeznach <tjeznach@chromium.org>
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
Commit-Queue: Allen Webb <allenwebb@google.com>
diff --git a/update_kernel.sh b/update_kernel.sh
index f872208..113aac5 100755
--- a/update_kernel.sh
+++ b/update_kernel.sh
@@ -154,10 +154,13 @@
 make_kernelimage() {
   local bootloader_path
   local kernel_image
-  local boot_path="/build/${FLAGS_board}/boot"
+  local boot_path="/build/${FLAGS_board}"
   local config_path="$(mktemp /tmp/config.txt.XXXXX)"
-  if [[ ${FLAGS_hv} -eq ${FLAGS_TRUE} && -d "${boot_path}/hv" ]]; then
-    boot_path+="/hv"
+  if [[ ${FLAGS_hv} -eq ${FLAGS_TRUE} && \
+        -d "${boot_path}/build/manatee/boot" ]]; then
+    boot_path+="/build/manatee/boot"
+  else
+    boot_path+="/boot"
   fi
   if [[ "${FLAGS_arch}" == "arm" || "${FLAGS_arch}" == "arm64" ]]; then
     name="bootloader.bin"