build_image: disable verity on arm64

Our current scheme injects the verity hash into a free spot in x86
kernel images. This is a bad thing to try on other types ;-)
This commit is contained in:
Michael Marineau 2016-05-02 11:33:47 -07:00
parent 75388260a9
commit 678c37c3c2

View File

@ -88,6 +88,11 @@ switch_to_strict_mode
check_gsutil_opts
# Inserting the verity hash into the kernel assumes x86_64
if [[ "${FLAGS_board}" != amd64-usr ]]; then
FLAGS_enable_rootfs_verification=${FLAGS_FALSE}
fi
# If downloading packages is enabled ensure the board is configured properly.
if [[ ${FLAGS_getbinpkg} -eq ${FLAGS_TRUE} ]]; then
"${SRC_ROOT}/scripts/setup_board" --board="${FLAGS_board}" \