summaryrefslogtreecommitdiff
path: root/rhel/openvswitch-kmod.files
diff options
context:
space:
mode:
authorGurucharan Shetty <gshetty@nicira.com>2013-03-30 18:32:25 -0700
committerGurucharan Shetty <gshetty@nicira.com>2013-04-01 15:11:56 -0700
commit9c12d2ec7569a12d9391c35b0f2402b03838fd40 (patch)
treec7c2357206fd780dae09f2197b1bfa10e68625d4 /rhel/openvswitch-kmod.files
parent60533a405b2eb77214b767767fe143c8645f82d5 (diff)
downloadopenvswitch-9c12d2ec7569a12d9391c35b0f2402b03838fd40.tar.gz
rhel: Add depmod.d conf file for rhel6 kmod package.
It looks like for Centos6.4, there is an upstream openvswitch kernel module already installed. When we try to install kmod-openvswitch package from this tree's pre-1.10 branches, we get the following warning: "brcompat.ko needs unknown symbol ovs_dp_ioctl_hook". Also, after installing the kmod-openvswitch package, if we run "modprobe openvswitch", the upstream kernel module gets loaded. We should instead load the kernel module compiled from this tree. This patch fixes both the above issues. Bug #15829. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'rhel/openvswitch-kmod.files')
-rw-r--r--rhel/openvswitch-kmod.files3
1 files changed, 3 insertions, 0 deletions
diff --git a/rhel/openvswitch-kmod.files b/rhel/openvswitch-kmod.files
new file mode 100644
index 000000000..357c2e8b7
--- /dev/null
+++ b/rhel/openvswitch-kmod.files
@@ -0,0 +1,3 @@
+%defattr(644,root,root,755)
+/lib/modules/%2-%1
+/etc/depmod.d/openvswitch.conf