cos-dkms: Fix download path renaming for missing local sources

This is a partial rollback of commit 3ea977df1 (Fix download path when
local sources are missing), which incorrectly modified the renaming of
downloaded sources due to a mistake in the test that was added in the
same commit. This reverts the renaming change and fixes the test to
check for renamed sources in the proper location.

BUG=b/388117769
TEST=presubmit, build container and upload it to cos VM then use it to
download lustre drivers from presubmit bucket

Change-Id: I5e106af1ff8a0a02faee98ea52fdfad6bc9eff8b
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/89739
Tested-by: Kevin Berry <kpberry@google.com>
Reviewed-by: Shuo Yang <gshuoy@google.com>
Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
2 files changed
tree: 71a42cd7a69ea8f77f1345b30887ecf5be35e414
  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. postsubmit-cloudbuild.yaml
  14. README.md
  15. run_builds.sh
  16. run_unit_tests.sh
  17. 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.