From: liu.ming50@gmail.com
To: meta-virtualization@lists.yoctoproject.org
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Subject: [meta-virtualization] [kirkstone] [PATCH 1/3] cni: reproducible builds: pass -trimpath
Date: Mon, 11 Dec 2023 10:53:18 +0100 [thread overview]
Message-ID: <20231211095320.10874-2-liu.ming50@gmail.com> (raw)
In-Reply-To: <20231211095320.10874-1-liu.ming50@gmail.com>
From: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
---
recipes-networking/cni/cni_git.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/recipes-networking/cni/cni_git.bb b/recipes-networking/cni/cni_git.bb
index cac62ae1..fd9115ab 100644
--- a/recipes-networking/cni/cni_git.bb
+++ b/recipes-networking/cni/cni_git.bb
@@ -39,10 +39,10 @@ do_compile() {
export GO111MODULE=off
cd ${B}/src/github.com/containernetworking/cni/libcni
- ${GO} build
+ ${GO} build -trimpath
cd ${B}/src/github.com/containernetworking/cni/cnitool
- ${GO} build
+ ${GO} build -trimpath
cd ${B}/src/github.com/containernetworking/plugins
PLUGINS="$(ls -d plugins/meta/*; ls -d plugins/ipam/*; ls -d plugins/main/* | grep -v windows)"
@@ -50,7 +50,7 @@ do_compile() {
for p in $PLUGINS; do
plugin="$(basename "$p")"
echo "building: $p"
- ${GO} build -o ${B}/plugins/bin/$plugin github.com/containernetworking/plugins/$p
+ ${GO} build -trimpath -o ${B}/plugins/bin/$plugin github.com/containernetworking/plugins/$p
done
}
--
2.34.1
next prev parent reply other threads:[~2023-12-11 9:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-11 9:53 [meta-virtualization] [kirkstone] [PATCH 0/3] cni: cherry pick fixes from master liu.ming50
2023-12-11 9:53 ` liu.ming50 [this message]
2023-12-11 9:53 ` [meta-virtualization] [kirkstone] [PATCH 2/3] cni: fix textrel QA issue liu.ming50
2023-12-11 9:53 ` [meta-virtualization] [kirkstone] [PATCH 3/3] cni: clean dir ${B}/plugins before do_compile liu.ming50
2023-12-14 19:59 ` [meta-virtualization] [kirkstone] [PATCH 0/3] cni: cherry pick fixes from master Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231211095320.10874-2-liu.ming50@gmail.com \
--to=liu.ming50@gmail.com \
--cc=bruce.ashfield@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.