commit | 7479a0d53eeadc7f2d539f2fa4ffebb0414d0489 | [log] [tgz] |
---|---|---|
author | Jason Macnak <natsu@google.com> | Thu Dec 05 09:31:54 2019 -0800 |
committer | Jason Macnak <natsu@google.com> | Mon Dec 09 13:44:38 2019 -0800 |
tree | 4cf3f0c235d4c96cc6ca85884e906ce70fa0bd84 | |
parent | 0581e2fb2d00c98ea74416ad87cdd900f663ddf3 [diff] |
Adds gpu driver setup to host image build scripts Updates the Cuttlefish host image build scripts to always use a GCE instance with a GPU/accelerator for building and to always install the latest GRID GPU driver. The driver fails gracefully when started on a GCE instance without a GPU/accelerator which allows us to just always have it present. Also updates default base image to debian-10 from debian-9 to ensure that kvm group is created. It was previously created when installing some of the qemu packages but those were removed in https://github.com/google/android-cuttlefish/commit/8156c58a7bf57efa9e9ab75d48f8ec52264a32ef Also adds lzop package installation to the GCE installation. It was removed in https://github.com/google/android-cuttlefish/commit/8156c58a7bf57efa9e9ab75d48f8ec52264a32ef but it is needed when creating instances via `acloud create`. Bug: b/128842306 Test: built host image and booted cvd on gpu and non-gpu instances Change-Id: I0c30d6608cd9590b8c0e00f95b6381c644a4c296