partutil: Refactor MountEFIPartition output

To allow reading other files on the EFI partition, output the EFI
partition mountpoint instead of just the grub config. A constant for the
grub config path is additionally exported.

BUG=b/465210631
TEST=unit tests

Change-Id: Ib00a696e20de9e777be13e8c60a3c761b962fd9c
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/130122
Reviewed-by: Kevin Berry <kpberry@google.com>
Tested-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
5 files changed
tree: 9a26d3aae3954cbf70d8a97da50101df8ce3bb3e
  1. coverage/
  2. release/
  3. src/
  4. testing/
  5. .gitignore
  6. BUILD.bazel
  7. cloudbuild.yaml
  8. CONTRIBUTING.md
  9. deps.bzl
  10. go.mod
  11. go.sum
  12. LICENSE
  13. postsubmit-cloudbuild.yaml
  14. README.md
  15. run_builds.sh
  16. run_unit_tests.sh
  17. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.