[roll] Roll fuchsia [gpt] Validate partition bounds and overlap

Adds additional verification of GPT layout:
- Ensures the backup header is at block_count - 1
- Validates that all partitions are within
  first_usable..=last_usable
- Validates no two partitions overlap with each other or the GPT
  metadata

This exposed a bug in the paver tests, where they were formatting GPT
images incorrectly (due to ramdisks rounding up to page alignment, the
last block where the GPT metadata was written to was not actually the
last block on the ramdisk).

Original-Original-Fixed: 517452954
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1649034
Original-Original-Revision: 6a8d204c954fbc8c260d053f5e632995dbec4943
GitOrigin-RevId: b50f68ac21e6cd2e5f49599e98c5c4485f446b89
Change-Id: I5ddfed5ec45b4aa488e2cd9a08454c8c3f817d6d
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1658148
Cr-Commit-Position: refs/heads/main@{#194823}
1 file changed
tree: 2e22a2f96aa1d8a36cf3a6069eac9c2ad37b24c1
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.