summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2022-09-13 15:28:14 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-09-13 15:28:14 -0400
commitf132afed23141a828fd16249d3d02af3f291aa16 (patch)
tree3fead741686d2c8cc5b77c32dc21a3b510a396da
parente465ef7dcda9a10397c5601eb7ae9fb9969318ca (diff)
downloadmeta-virtualization-f132afed23141a828fd16249d3d02af3f291aa16.tar.gz
umoci: fix reproducibility
pass -trimpath to the umoci build to remove TMPDIR references in the binaries. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/umoci/umoci_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb
index 045d9cf6..a9442ccc 100644
--- a/recipes-containers/umoci/umoci_git.bb
+++ b/recipes-containers/umoci/umoci_git.bb
@@ -40,6 +40,8 @@ do_compile:class-native () {
40 export GOPATH="${WORKDIR}/git/" 40 export GOPATH="${WORKDIR}/git/"
41 export GO111MODULE=off 41 export GO111MODULE=off
42 42
43 export BUILD_FLAGS="-trimpath"
44
43 cd ${S} 45 cd ${S}
44 46
45 # why static ? patchelf will be run on dynamic binaries and it breaks 47 # why static ? patchelf will be run on dynamic binaries and it breaks