Merge pull request #639 from bgilbert/other-boards

build_image: Correctly disable verity on unsupported boards
This commit is contained in:
Benjamin Gilbert 2017-02-02 17:18:22 -08:00 committed by GitHub
commit 5541e1521e

View File

@ -331,7 +331,7 @@ finish_image() {
case "${FLAGS_board}" in
amd64-usr) verity_offset=64 ;;
arm64-usr) verity_offset=512 ;;
*) FLAGS_enable_rootfs_verification=${FLAGS_FALSE} ;;
*) disable_read_write=${FLAGS_FALSE} ;;
esac
# Copy kernel to support dm-verity boots