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

Morten Linderud foxboron at archlinux.org
Sat Mar 6 12:49:17 UTC 2021


    Date: Saturday, March 6, 2021 @ 12:49:17
  Author: foxboron
Revision: 884195

upgpkg: cni-plugins 0.9.1-3 - FS#69626: Added systemd services

Modified:
  cni-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-06 12:48:59 UTC (rev 884194)
+++ PKGBUILD	2021-03-06 12:49:17 UTC (rev 884195)
@@ -4,7 +4,7 @@
 
 pkgname=cni-plugins
 pkgver=0.9.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Some standard networking plugins, maintained by the CNI team'
 arch=(x86_64)
 url="https://github.com/containernetworking/plugins"
@@ -33,12 +33,10 @@
   install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
   install -dm755 "$pkgdir/opt/cni/bin"
 
+  install -vDm 755 plugins/ipam/dhcp/systemd/* -t "$pkgdir/usr/lib/systemd/system/"
+
   # Some CNI stuff would build their binaries into /usr/lib/cni with the
   # old approach. This is unfortunate so we'll just symlink each binary
   # instead.
-  for bin in bandwidth bridge dhcp firewall flannel host-device \
-             host-local ipvlan loopback macvlan portmap ptp sbr \
-             static tuning vlan vrf; do
-    cp "$pkgdir/usr/lib/cni/$bin" "$pkgdir/opt/cni/bin/$bin"
-  done
+  install -vDm 755 bin/* -t "$pkgdir/opt/cni/bin/"
 }



More information about the arch-commits mailing list