update_bootloaders.sh: Add board config into the mix

The update_bootloaders.sh script asks which partition numbers
certain labels live on. Though we never change this, it is technically
board-specific. Right now it works because it falls back to loading
legacy_disk_layout.json, and we simply get lucky because nobody has
reordered the partitions.

Remove our reliance on the existence of legacy_disk_layout.json by
passing the board info into update_bootloaders.sh. This causes the
overlay disk-info to get loaded, with the true partition numbers
for the board.

BUG=none
TEST=build_image --board=hatch

Change-Id: I55e7cfb2d507c7930f71d5ed1031f7e752e5c6d9
Reviewed-on: https://chromium-review.googlesource.com/1538303
Commit-Ready: Evan Green <evgreen@chromium.org>
Tested-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
2 files changed