projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netdev-dpdk: fix mbuf leaks
[cascardo/ovs.git]
/
rhel
/
openvswitch-kmod-rhel6.spec.in
diff --git
a/rhel/openvswitch-kmod-rhel6.spec.in
b/rhel/openvswitch-kmod-rhel6.spec.in
index
6dbb377
..
5d46838
100644
(file)
--- a/
rhel/openvswitch-kmod-rhel6.spec.in
+++ b/
rhel/openvswitch-kmod-rhel6.spec.in
@@
-61,6
+61,9
@@
export INSTALL_MOD_DIR=extra/%{oname}
for flavor in %flavors_to_build ; do
make -C %{kernel_source $flavor} modules_install \
M="`pwd`"/_$flavor/datapath/linux
for flavor in %flavors_to_build ; do
make -C %{kernel_source $flavor} modules_install \
M="`pwd`"/_$flavor/datapath/linux
+
+ # Cleanup unnecessary kernel-generated module dependency files.
+ find $INSTALL_MOD_PATH/lib/modules -iname 'modules.*' -exec rm {} \;
done
install -d %{buildroot}%{_sysconfdir}/depmod.d/
install -m 644 %{oname}.conf %{buildroot}%{_sysconfdir}/depmod.d/
done
install -d %{buildroot}%{_sysconfdir}/depmod.d/
install -m 644 %{oname}.conf %{buildroot}%{_sysconfdir}/depmod.d/