diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-05-25 09:49:53 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-05-25 09:50:56 -0400 |
commit | 313b06bfade57c1088de0924075a00c21f32769a (patch) | |
tree | 4eb93dff54060aa33addc5f4d7613d639c94c678 /recipes-containers/criu/files/disable-selinux.patch | |
parent | da1e90ecc8b5371a250067e653ec5b3e4f1f71e0 (diff) | |
download | meta-virtualization-313b06bfade57c1088de0924075a00c21f32769a.tar.gz |
go-cross: allow tmp directory to already exist
The change [go-native: don't use host /var/tmp for temp build artifacts]
fixed builds, but it is possible that the tmp directory already exists, which
results in the following failure:
| DEBUG: Executing shell function do_compile
| mkdir: cannot create directory 'tmp/work/x86_64-linux/go-cross/1.6.2-r0/build-tmp': File exists
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at tmp/work/x86_64-linux/go-cross/1.6.2-r0/temp/log.do_compile.29142)
By adding a -p to the mkdir calls, we can survive this scenario.
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