commit | 849610742be34d2ab88b4f2d52ad70b152bb233b | [log] [tgz] |
---|---|---|
author | Kevin Berry <kpberry@google.com> | Thu Dec 12 22:44:15 2024 +0000 |
committer | Kevin Berry <kpberry@google.com> | Fri Aug 15 11:22:59 2025 -0700 |
tree | a3008c625d4434bf28b6229df1fbcc088abbee87 | |
parent | 69617947a1814c73e7f5061ccf4f32ae61ad64ab [diff] |
cos-dkms: Check that source tree dir is non-empty If there is no dkms.conf file, we can still do reasonable things with other source files. If there are no source files, we can still do reasonable things with dkms.conf (like downloading pre-built modules from the cache build directory). However, if both are missing, there is nothing we can reasonably do, so we should error out. This is a common error case if, for instance, a GCS bucket name is entered incorrectly. "Succeeding" silently here is surprising and hard to debug. Change-Id: I5f65823085d16fba9d6c2e1cc02a4d20fcc6f770 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/105839 Reviewed-by: Shuo Yang <gshuoy@google.com> Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com> Tested-by: Kevin Berry <kpberry@google.com>
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.