meta-virtualization/recipes-containers
Yunguo Wei ed7b8333e1 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 01aa8f1819)
2018-01-30 17:11:17 -05:00
..
cgroup-lite Add cgroup-lite 2015-03-17 09:46:32 -04:00
criu protobuf-c: Inherit pkgconfig 2015-12-02 16:28:12 -05:00
docker docker: override GOROOT at build time 2018-01-30 17:11:17 -05:00
docker-registry docker-registry: Make version dependence compatible with opkg 2016-06-17 08:34:19 -04:00
lxc lxc: update to 2.0.0 2016-04-25 16:26:23 -04:00