[meta-virtualization][PATCH 12/15] cri-o: set go buildid to empty for improving reproducibility

<[email protected]>
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <[email protected]>
From: Changqing Li <[email protected]>

Signed-off-by: Changqing Li <[email protected]>
---
 recipes-containers/cri-o/cri-o_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-containers/cri-o/cri-o_git.bb b/recipes-containers/cri-o/cri-o_git.bb
index 0932658c..49662ebc 100644
--- a/recipes-containers/cri-o/cri-o_git.bb
+++ b/recipes-containers/cri-o/cri-o_git.bb
@@ -67,6 +67,7 @@ EXTRA_OEMAKE += "GO_TEST='${GO} test -trimpath -buildmode=pie'"
 do_compile() {
 	set +e
 
+	export EXTRA_LDFLAGS="-buildid="
 	cd ${S}/src/import
 
 	oe_runmake local-cross
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.