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>
This commit is contained in:
Bruce Ashfield 2022-09-13 15:28:14 -04:00
parent e465ef7dcd
commit f132afed23

View File

@ -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