[arch-commits] Commit in cni-plugins/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Tue Dec 22 22:16:57 UTC 2020


    Date: Tuesday, December 22, 2020 @ 22:16:56
  Author: foxboron
Revision: 783075

upgpkg: cni-plugins 0.9.0-3 - K8s looks for the binaries under opt

Modified:
  cni-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-22 22:16:35 UTC (rev 783074)
+++ PKGBUILD	2020-12-22 22:16:56 UTC (rev 783075)
@@ -4,7 +4,7 @@
 
 pkgname=cni-plugins
 pkgver=0.9.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Some standard networking plugins, maintained by the CNI team'
 arch=(x86_64)
 url="https://github.com/containernetworking/plugins"
@@ -31,4 +31,6 @@
   install -vDm 755 bin/* -t "$pkgdir/usr/lib/cni/"
   install -vdm 755 "${pkgdir}/etc/cni/net.d/"
   install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -dm755 "$pkgdir/opt/cni"
+  ln -s /usr/lib/cni "$pkgdir/opt/cni/bin"
 }



More information about the arch-commits mailing list