diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2016-05-20 10:55:11 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-06-14 10:59:37 -0400 |
| commit | 7f3cc5028609b716d5651f30b210a8a0860e2287 (patch) | |
| tree | a7f09b99f353acd8094e214b09b57a0ef8b72316 /recipes-devtools/python/python-docker-registry-core_2.0.3.bb | |
| parent | 25ee1f1d1e4a5a608d0303bb79f8c45c726f631c (diff) | |
| download | meta-virtualization-7f3cc5028609b716d5651f30b210a8a0860e2287.tar.gz | |
go-native: don't use host /var/tmp for temp build artifacts
Similar to a recent change for go-cross we can potentially run in to a
build failure:
go tool dist: mkdtemp(/var/tmp/go-cbuild-A0rrP5): No such file or directory
when the host doesn't have a /var/tmp or when the permissions don't
allow for the creation of the temporary directory. Instead of relying
on /var/tmp we create and use a temporary directory in the $WORKDIR to
work around this issue. This is passed to the build via the TMPDIR
environment variable.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/python/python-docker-registry-core_2.0.3.bb')
0 files changed, 0 insertions, 0 deletions
