diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2016-05-13 15:07:46 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-05-16 11:12:36 -0400 |
commit | 7e2ad373b6ed453e3157d2a8e1b3ad9efeda6b3a (patch) | |
tree | dffbaac640dd13213bfb3437c7e51833a60714ac /recipes-devtools/protobuf/files/protobuf-allow-running-python-scripts-from-anywhere.patch | |
parent | a3617f24641962e6732c8369ce9256ae4be5a2a0 (diff) | |
download | meta-virtualization-7e2ad373b6ed453e3157d2a8e1b3ad9efeda6b3a.tar.gz |
go-cross: don't use host /var/tmp for temporary build artifacts
The default behavior for go-cross build is to use the path specified
in TMPDIR for some temporary build artifacts and if no TMPDIR is set
in the environment to fallback to use /var/tmp. This causes a build
failure on hosts that do not have a /var/tmp or that have restrictive
permissions on /var/tmp. The failure is seen as:
go tool dist: mkdtemp(/var/tmp/go-cbuild-yhmNbi): No such file or directory
By setting TMPDIR and ensuring we create this
directory we can avoid the associated issue with using the default.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/protobuf/files/protobuf-allow-running-python-scripts-from-anywhere.patch')
0 files changed, 0 insertions, 0 deletions