cos-gpu-installer-v2: skip OSS driver installation if preloading

Also adds a check to only used cached installation if the current GPU device supports it.

BUG=b/272613902

Change-Id: Ib93c4b3be7ac00ee45765a30e90a2cd674ab19a9
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/44751
Reviewed-by: Arnav Kansal <rnv@google.com>
Tested-by: Arnav Kansal <rnv@google.com>
Reviewed-by: Meena Shanmugam <meenashanmugam@google.com>
Cloud-Build: Arnav Kansal <rnv@google.com>
1 file changed
tree: ff6076910b959bb403619be7e223b3a6250dde5a
  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.