All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] umoci: Remove the buildpath issue
@ 2023-10-08  8:02 mingli.yu
  2023-10-09 12:06 ` [meta-virtualization] " Bruce Ashfield
  2023-10-11 18:53 ` Bruce Ashfield
  0 siblings, 2 replies; 3+ messages in thread
From: mingli.yu @ 2023-10-08  8:02 UTC (permalink / raw)
  To: meta-virtualization

From: Mingli Yu <mingli.yu@windriver.com>

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>
---
 recipes-containers/umoci/umoci_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb
index feaf6dff..e2116892 100644
--- a/recipes-containers/umoci/umoci_git.bb
+++ b/recipes-containers/umoci/umoci_git.bb
@@ -68,6 +68,7 @@ do_compile() {
 
     export GO111MODULE=off
 
+    export BUILD_FLAGS="-trimpath"
     cd ${S}
 
     oe_runmake umoci
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-11 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-08  8:02 [PATCH] umoci: Remove the buildpath issue mingli.yu
2023-10-09 12:06 ` [meta-virtualization] " Bruce Ashfield
2023-10-11 18:53 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.