Browse Source

openvswitch: add +kmod-vxlan dependency for kernels >= 3.12

When OVS detects a kernel version >= 3.12 it does not build
it's own vxlan module and tries to use the kernel's, when building
the OVS kernel module.

I also pushed a patch to the OpenWRT trunk to add a +kmod-vxlan package.

This will add the kernel's vxlan.ko kernel module if it exists.
So, for kernel >= 3.12, this package should exist and be installed
when installing OVS.

Tested on OpenWRT trunk with kernel 3.14.18.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 10 years ago
parent
commit
194c0f608a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      net/openvswitch/Makefile

+ 1
- 1
net/openvswitch/Makefile View File

@ -94,7 +94,7 @@ define KernelPackage/openvswitch
SUBMENU:=Network Support SUBMENU:=Network Support
TITLE:=Open vSwitch Kernel Package TITLE:=Open vSwitch Kernel Package
KCONFIG:=CONFIG_BRIDGE KCONFIG:=CONFIG_BRIDGE
DEPENDS:=+kmod-stp +kmod-ipv6 +kmod-gre +kmod-lib-crc32c
DEPENDS:=+kmod-stp +kmod-ipv6 +kmod-gre +kmod-lib-crc32c +kmod-vxlan
FILES:= \ FILES:= \
$(PKG_BUILD_DIR)/datapath/linux/openvswitch.$(LINUX_KMOD_SUFFIX) $(PKG_BUILD_DIR)/datapath/linux/openvswitch.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,21,openvswitch) AUTOLOAD:=$(call AutoLoad,21,openvswitch)


Loading…
Cancel
Save