xenserver: Don't install xsconsole plugin as symlink
authorJustin Pettit <jpettit@nicira.com>
Tue, 6 Apr 2010 01:13:26 +0000 (18:13 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 6 Apr 2010 04:26:55 +0000 (21:26 -0700)
commitb31ac77a39f2d4ed9eb8740b2f1127d22fc3054d
tree7aa94034ee0dfcb94ad58759742c837bd2081ab8
parent4e39950c21c5eb401be5924e798c570ffbd0c75b
xenserver: Don't install xsconsole plugin as symlink

The OVS xsconsole plugin used to be installed in
/usr/share/openvswitch/scripts directory and then a symlink was created
to the /usr/lib/xsconsole/plugins-base directory.  The Citrix packaging of
OVS just placed it directly into the xsconsole plugin directory.  This
worked fine until we renamed our package "openvswitch", which is the
same as Citrix uses.

On an upgrade, the default package handler would attempt to clean up files
that were in the Cirix packaging, but not in the upgraded package.  Since
it didn't know that we had replaced their plugin with our symlink, it would
destroy our symlink.

This commit just places the plugin directly into the
/usr/lib/xsconsole/plugins-base directory, which allows us to seamlessly
upgrade to newer Open vSwitch versions.

Bug #2608
xenserver/openvswitch-xen.spec