diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-14 14:48:43 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-14 14:48:43 -0400 |
commit | 0b0718efc140ba17883fc485ab1df503a022ff11 (patch) | |
tree | b36a2181768bf2e5950149d544b2e53ada50b513 | |
parent | ba32f19b65ccfaf550dbd9aab9067dba5d6c3ec6 (diff) | |
download | meta-virtualization-0b0718efc140ba17883fc485ab1df503a022ff11.tar.gz |
oci-runtme-tools: fix TMPDIR references
pass -trimpath to remove most TMPDIR referneces.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb index 0a4c9090..0ba0b56c 100644 --- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb +++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb | |||
@@ -35,6 +35,7 @@ do_compile() { | |||
35 | # ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: | 35 | # ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: |
36 | # cannot open file : open : no such file or directory | 36 | # cannot open file : open : no such file or directory |
37 | export GO_BUILD_FLAGS="-a -pkgdir dontusecurrentpkgs" | 37 | export GO_BUILD_FLAGS="-a -pkgdir dontusecurrentpkgs" |
38 | export EXTRA_FLAGS="-trimpath" | ||
38 | 39 | ||
39 | # link fixups for compilation | 40 | # link fixups for compilation |
40 | rm -f ${S}/src/import/vendor/src | 41 | rm -f ${S}/src/import/vendor/src |