|author||He Gao <email@example.com>||Fri Jan 14 22:53:07 2022 +0000|
|committer||He Gao <firstname.lastname@example.org>||Tue Jan 18 23:43:41 2022 +0000|
Correct toolchain and kernel headers detection cos-gpu-installer:v2 used to detect whether /build/cos-tools is empty to find if toolchain has already been installed. However, newer versions of the installer require toolchain and kernel headers to link GPU drivers. That directory will not be empty if only one of toolchain and kernel headers exist. In that case, installation will fail. This CL changes the way installer detects the required parts. The installer now detects and installs toolchain and kernel headers separately. If only one of the two is present, the installer will go on to download and install the other one. BUG=b/214429381 Change-Id: I5ee2af99b2bf48d451b7df5a5cba1dc2f2c32b3a Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/27760 Reviewed-by: Robert Kolchmeyer <email@example.com> Cloud-Build: GCB Service account <firstname.lastname@example.org> Tested-by: He Gao <email@example.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.