From f3b49e23b04878a2a4d37bbb1884c677b6b56c2a Mon Sep 17 00:00:00 2001 From: Bob Ball Date: Tue, 9 Dec 2014 17:37:03 +0000 Subject: [PATCH] XenAPI: Add another plugin directory Buildroot on 64-bit systems may use /usr/lib64 to store the XAPI plugins Add this as an option to search for. The list is getting of acceptable paths is getting longer but some work is going on in XAPI to allow us to query for this path, which will mean we can get rid of this list in future. Change-Id: I79aafb6a86032c7ab04937c9e9bec08661ecdefa --- tools/xen/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xen/functions b/tools/xen/functions index c8efd57d88..4e9fede387 100644 --- a/tools/xen/functions +++ b/tools/xen/functions @@ -10,7 +10,7 @@ function die_with_error { } function xapi_plugin_location { - for PLUGIN_DIR in "/etc/xapi.d/plugins/" "/usr/lib/xcp/plugins/" "/usr/lib/xapi/plugins"; do + for PLUGIN_DIR in "/etc/xapi.d/plugins/" "/usr/lib/xcp/plugins/" "/usr/lib/xapi/plugins" "/usr/lib64/xapi/plugins"; do if [ -d $PLUGIN_DIR ]; then echo $PLUGIN_DIR return 0