From cc5b0099dda9b11a5a37f088371f1890ed87ae07 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 15 Jun 2009 13:17:49 -0700 Subject: [PATCH] xenserver: Don't include veth_mod.ko in RPMs. veth_mod.ko is built only for Linux 2.6.18 (since later versions already have it). Our XenServer build doesn't use it at all, so don't package it. (This is in response to a build failure against a XenServer 5.7.0 prerelease, which uses a 2.6.27 kernel and thus for which veth_mod.ko is not built.) --- xenserver/vswitch-xen.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index ee3fce3d..4a04cc0f 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -84,6 +84,7 @@ rm -rf \ $RPM_BUILD_ROOT/root/vswitch/bin/ovs-switchui \ $RPM_BUILD_ROOT/root/vswitch/bin/ovs-wdt \ $RPM_BUILD_ROOT/root/vswitch/bin/secchan \ + $RPM_BUILD_ROOT/root/vswitch/kernel_modudules/veth_mod.ko \ $RPM_BUILD_ROOT/root/vswitch/sbin/ovs-monitor \ $RPM_BUILD_ROOT/root/vswitch/share/man/man8/ovs-controller.8 \ $RPM_BUILD_ROOT/root/vswitch/share/man/man8/ovs-discover.8 \ @@ -287,7 +288,6 @@ fi /etc/profile.d/vswitch.sh /root/vswitch/kernel_modules/brcompat_mod.ko /root/vswitch/kernel_modules/openvswitch_mod.ko -/root/vswitch/kernel_modules/veth_mod.ko /root/vswitch/scripts/dump-vif-details /root/vswitch/scripts/interface-reconfigure /root/vswitch/scripts/vif -- 2.30.2