umoci: Remove the buildpath issue

Pass -trimpath to the build to fix the below build path issue:
  WARNING: umoci-v0.4.7+git-r0 do_package_qa: QA Issue: File /usr/sbin/umoci in package umoci contains reference to TMPDIR [buildpaths]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Mingli Yu 2023-10-08 16:02:59 +08:00 committed by Bruce Ashfield
parent 01da1f2a29
commit 5cec30aae4

View File

@ -68,6 +68,7 @@ do_compile() {
export GO111MODULE=off
export BUILD_FLAGS="-trimpath"
cd ${S}
oe_runmake umoci