diff options
author | Yunguo Wei <yunguo.wei@windriver.com> | 2018-01-30 16:02:20 -0200 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-01-30 17:11:17 -0500 |
commit | ed7b8333e1f09d59dbe96ec1258971ffb4e5af41 (patch) | |
tree | 920d4c21143c856e2f5598b6b79afdc986e6d176 /recipes-extended/seabios/seabios_1.9.1.bb | |
parent | b38ebbee98d24b1fac1f1278bce1a7b4d337cf35 (diff) | |
download | meta-virtualization-ed7b8333e1f09d59dbe96ec1258971ffb4e5af41.tar.gz |
docker: override GOROOT at build time
Usually $GOROOT is set by go tool, but if sstate is specified, $GOROOT
is set to the path in the first project. If docker is built in the
another project(with same SSTATE_DIR) later, and the first project is removed,
the following error will be seen:
| go: cannot find GOROOT directory:
/path/to/previous/project/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib/x86_64-wrs-linux/go
This commit is overriding $GOROOT stored in the go tool in sstate cache,
making sure it is set to the correct path in current project.
See more information here: https://golang.org/doc/install#install
Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(cherry picked from commit 01aa8f18196d76d4554649c47348fb68277574c5)
Diffstat (limited to 'recipes-extended/seabios/seabios_1.9.1.bb')
0 files changed, 0 insertions, 0 deletions