build_image: remove use of cros_list_overlays
The list of overlays for the given board is set using
'/etc/make.conf.board_setup', which is already sourced in all the
build image scripts, so it is not necessary to use cros_list_overlays.
BUG=brillo:655
TEST=./build_image --board=panther --noenable_rootfs_verification test
TEST=brillo image --brick=//example-app/helloworld base
Change-Id: I6120d51f3df6dab34ba54741062250880a149e53
Reviewed-on: https://chromium-review.googlesource.com/262437
Tested-by: Steve Fung <stevefung@chromium.org>
Reviewed-by: Bertrand Simonnet <bsimonnet@chromium.org>
Commit-Queue: Steve Fung <stevefung@chromium.org>
diff --git a/build_kernel_image.sh b/build_kernel_image.sh
index c6bb71a..1af3a2a 100755
--- a/build_kernel_image.sh
+++ b/build_kernel_image.sh
@@ -108,7 +108,7 @@
echo 'PARTUUID=%U/PARTNROFF=1'
}
-load_board_specific_script "${BOARD}" "build_kernel_image.sh"
+load_board_specific_script "build_kernel_image.sh"
base_root=$(get_base_root)