diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-14 14:49:17 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-09-14 14:49:17 -0400 |
| commit | 26f698cdb8881bc395ef679776d7987c7db1c0e8 (patch) | |
| tree | eeefa4f12d8e2a096850c7b3f79c260b32ebdd54 | |
| parent | 0b0718efc140ba17883fc485ab1df503a022ff11 (diff) | |
| download | meta-virtualization-26f698cdb8881bc395ef679776d7987c7db1c0e8.tar.gz | |
oci-image-tools: remove TMPDIR references
Pass -trimpath to the build to remove most (but not all)
TMDIR references.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/oci-image-tools/oci-image-tools_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb index 90e671ca..e0b27163 100644 --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb | |||
| @@ -52,6 +52,8 @@ do_compile() { | |||
| 52 | export CGO_LDFLAGS="${TARGET_LDFLAGS}" | 52 | export CGO_LDFLAGS="${TARGET_LDFLAGS}" |
| 53 | export GO111MODULE=off | 53 | export GO111MODULE=off |
| 54 | 54 | ||
| 55 | export GOBUILDFLAGS="-trimpath" | ||
| 56 | |||
| 55 | cd ${S}/src/import | 57 | cd ${S}/src/import |
| 56 | 58 | ||
| 57 | oe_runmake tool | 59 | oe_runmake tool |
