diff options
author | Yunguo Wei <yunguo.wei@windriver.com> | 2016-05-30 15:34:26 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-05-30 14:19:39 -0400 |
commit | 01aa8f18196d76d4554649c47348fb68277574c5 (patch) | |
tree | e8aa13a6bad886b5c9de84f8d56695b6a1714002 /recipes-containers/criu/files/disable-selinux.patch | |
parent | 313b06bfade57c1088de0924075a00c21f32769a (diff) | |
download | meta-virtualization-01aa8f18196d76d4554649c47348fb68277574c5.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>
Diffstat (limited to 'recipes-containers/criu/files/disable-selinux.patch')
0 files changed, 0 insertions, 0 deletions