cos-customizer: Add support for new dm-verity format.

COS plans to use upstream dm-verity format. cos-customizer modifies
the image and update the dm-verity arguments(hashtree and salt. Modify
seal-oem-partition step to support both new and old dm-verity formats.

BUG=b/240174341
TEST=Manually tested cos-cusomizer with both dm-verity formats.

Change-Id: I994a1670affe196694a0a444a363a023a91967dd
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/37529
Reviewed-by: He Gao <hegao@google.com>
Tested-by: Meena Shanmugam <meenashanmugam@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
1 file changed
tree: 0f436d4b71e66f806c6bd8c0509c880ccdf83be0
  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. README.md
  14. run_tests.sh
  15. 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.