Fix signing for driver versions that have prebuilt modules

For driver versions with prebuilt modules available, we will still be
supporting installation using precompiled drivers to support old device
types. This will require signatures for those drivers.

Short circuit the prebuilt driver module installation if the unsigned
driver is allowed - which is only used in the dev/testing/signing.

Change-Id: I2a4f18a0b0cf40d182f6d06700c4ee29269d7180
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/43759
Tested-by: Arnav Kansal <rnv@google.com>
Reviewed-by: Meena Shanmugam <meenashanmugam@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
1 file changed
tree: b1408286b4810e90173a8a388710dde9cc2ee4f1
  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.