net/keepalived: fix kmod-macvlan dependency
authorFlorian Eckert <redacted>
Tue, 14 Nov 2017 12:42:36 +0000 (13:42 +0100)
committerFlorian Eckert <redacted>
Mon, 22 Jan 2018 14:32:56 +0000 (15:32 +0100)
If the option 'use_vmac' is selected in a keepalived config and
kmod-macvlan is not installed then keepalived raise an error.

  Netlink: error: Not supported, type=(16), seq=1510647577, pid=0
  vmac: Error creating VMAC interface vrrp.42 for vrrp_instance xxx!!!

Add 'kmod-macvlan' to the package dependency list fixes this error.

Signed-off-by: Florian Eckert <redacted>
net/keepalived/Makefile

index b584a3280fb7c5d563917fad0d1065d5ed95ae8a..bcf38055e45f8cdec7e55c53d76465034cebe647 100644 (file)
@@ -29,7 +29,13 @@ define Package/keepalived
   CATEGORY:=Network
   TITLE:=Failover and monitoring daemon for LVS clusters
   URL:=http://www.keepalived.org/
-  DEPENDS:=+PACKAGE_libnl-genl:libnl-genl +libopenssl +libip4tc +IPV6:libip6tc +libxtables
+  DEPENDS:= \
+    +PACKAGE_libnl-genl:libnl-genl \
+    +libopenssl \
+    +libip4tc \
+    +IPV6:libip6tc \
+    +libxtables \
+    +kmod-macvlan
 endef
 
 define Package/keepalived/description
git clone https://git.99rst.org/PROJECT