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.
Commit-Ready: Evan Green <firstname.lastname@example.org>
Tested-by: Evan Green <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
2 files changed