From 7544f7527a6d48729c67fefa7881bcd1d9f86f36 Mon Sep 17 00:00:00 2001 From: Berkay Tekin Oz Date: Wed, 3 Apr 2024 14:47:29 +0300 Subject: [PATCH] Install cilium-dbg to system through /opt/cni/bin --- cilium/rockcraft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cilium/rockcraft.yaml b/cilium/rockcraft.yaml index 7410d5d..25c2309 100644 --- a/cilium/rockcraft.yaml +++ b/cilium/rockcraft.yaml @@ -323,9 +323,11 @@ parts: make install-bash-completion make licenses-all + echo 'install_cni "/usr/bin/cilium-dbg"' >> $CRAFT_PART_BUILD/plugins/cilium-cni/install-plugin.sh + cp $CRAFT_PART_BUILD/LICENSE.all $CRAFT_PART_INSTALL/ cp $CRAFT_PART_SRC/images/cilium/init-container.sh $CRAFT_PART_INSTALL/ - cp $CRAFT_PART_SRC/plugins/cilium-cni/install-plugin.sh $CRAFT_PART_INSTALL/ + cp $CRAFT_PART_BUILD/plugins/cilium-cni/install-plugin.sh $CRAFT_PART_INSTALL/ cp $CRAFT_PART_SRC/plugins/cilium-cni/cni-uninstall.sh $CRAFT_PART_INSTALL/ cp -a $CRAFT_PART_INSTALL/usr/bin/clang-10 $CRAFT_PART_INSTALL/usr/bin/clang