commit | 82a5b3484d536d958e23de152474314da243ed8f | [log] [tgz] |
---|---|---|
author | Amey Deshpande <ameyd@google.com> | Thu Nov 30 16:47:13 2017 -0800 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Tue Dec 05 00:54:15 2017 +0000 |
tree | d6da6c1e23f839fa976ff3a22273c12537bf5af3 | |
parent | df0ece8b0b189df591519dd5efa86b69fd2c6750 [diff] |
lakitu: write toolchain path to /etc/toolchain-path This patch reads the TC_PATH from sdk_version.conf[1], populates the target architecture, and writes it to a file under /etc on the root fs. The toolchain path is relative to gs://chromiumos-sdk bucket, and can be used to compile out-of-tree kernel modules eg. GPU drivers at runtime. [1] https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/master/chromeos/binhost/host/sdk_version.conf BUG=b:65432716 TEST=Spun up a VM instance; ensured /etc/toolchain-path was present and populated. RELEASE_NOTE=None Change-Id: I8c196890694fe5a94469bd1f98d66c1a8e0d3d2a Previous-Reviewed-on: https://chromium-review.googlesource.com/802534 (cherry picked from commit 22af79b9cbc3e607bb2e6bdaa03de9359a7f7c66) Reviewed-on: https://chromium-review.googlesource.com/807399 Reviewed-by: Daniel Wang <wonderfly@google.com> Commit-Queue: Amey Deshpande <ameyd@google.com> Tested-by: Amey Deshpande <ameyd@google.com>