seal_oem_partition: make cmdline updates compatible with pickargs

Update behavior to not assume device mapper table is at the end of the
command line.

BUG=b/517096251

Change-Id: I9842c48689127dac7f8aad2a87a30354fd672250
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/156144
Tested-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Reviewed-by: He Gao <hegao@google.com>
Cloud-Build: 228075978874@cloudbuild.gserviceaccount.com <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Miri Amarilio <mirilio@google.com>
3 files changed
tree: 652fdc49f3cf827f3d20612ef6acda4e20e499f6
  1. coverage/
  2. release/
  3. src/
  4. testing/
  5. vendor/
  6. .bazelignore
  7. .gitignore
  8. BUILD.bazel
  9. cloudbuild.yaml
  10. CONTRIBUTING.md
  11. deps.bzl
  12. go.mod
  13. go.sum
  14. LICENSE
  15. postsubmit-cloudbuild.yaml
  16. README.md
  17. run_builds.sh
  18. run_unit_tests.sh
  19. 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.