From: Bruce Ashfield <[email protected]>

Signed-off-by: Bruce Ashfield <[email protected]>
---
 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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8492): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8492
Mute This Topic: https://lists.yoctoproject.org/mt/103105935/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to