From f132afed23141a828fd16249d3d02af3f291aa16 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 13 Sep 2022 15:28:14 -0400 Subject: umoci: fix reproducibility pass -trimpath to the umoci build to remove TMPDIR references in the binaries. Signed-off-by: Bruce Ashfield --- recipes-containers/umoci/umoci_git.bb | 2 ++ 1 file changed, 2 insertions(+) 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 () { export GOPATH="${WORKDIR}/git/" export GO111MODULE=off + export BUILD_FLAGS="-trimpath" + cd ${S} # why static ? patchelf will be run on dynamic binaries and it breaks -- cgit v1.2.3-54-g00ecf