update_bootloaders: add a hook for boards to update EFI partition

We have a few boards (like beaglebone) that need to install custom
bootloader files into the EFI partition.  Add a dedicated hook for
this.  Currently they're mounting the disk image directly, but that
is being a bit flaky as it interacts with cached kernel state.

BUG=b:207034476
TEST=CQ passes

Change-Id: I6017dbc72e14a3c57473f2decb935136f835f49e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/3336559
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Sloan Johnson <sloanjohnson@google.com>
Commit-Queue: Sloan Johnson <sloanjohnson@google.com>
1 file changed