X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=xenserver%2Fvswitch-xen.spec;h=576c6e6755092a283bf16299ff9b75f33261a109;hb=1d87357a1322c2faa290452c08c7f794c0be848b;hp=94bd916d0c1c30bf4780cf6f81365a64a559ec26;hpb=8fef8c7121222233075a03d57db7e0b48d5f6be5;p=sliver-openvswitch.git diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index 94bd916d0..576c6e675 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -71,6 +71,8 @@ install -m 755 xenserver/root_vswitch_scripts_dump-vif-details \ $RPM_BUILD_ROOT%{_prefix}/scripts/dump-vif-details install -m 755 xenserver/usr_sbin_xen-bugtool \ $RPM_BUILD_ROOT%{_prefix}/scripts/xen-bugtool +install -m 755 xenserver/usr_sbin_brctl \ + $RPM_BUILD_ROOT%{_prefix}/scripts/brctl install -m 644 \ xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py \ $RPM_BUILD_ROOT%{_prefix}/scripts/XSFeatureVSwitch.py @@ -116,11 +118,28 @@ EOF printf "\nThe original XenServer scripts replaced by this package\n" printf "are different than expected. This could lead to unexpected\n" printf "behavior of your server. Unless you are sure you know what\n" - printf "you are doing, it is highly recomended that you remove this\n" + printf "you are doing, it is highly recommended that you remove this\n" printf "package immediately after the install completes, which\n" printf "will restore the XenServer scripts that you were previously\n" printf "using.\n\n" fi + if test "`/usr/sbin/brctl --version`" != "bridge-utils, 1.1"; then +cat <