hotplug-common: Do not adjust LD_LIBRARY_PATH
authorIan Jackson <ian.jackson@citrix.com>
Thu, 21 Feb 2019 16:05:40 +0000 (16:05 +0000)
committerHans van Kranenburg <hans@knorrie.org>
Mon, 14 Jun 2021 14:41:01 +0000 (15:41 +0100)
commit459257b033dc92b7dba9d2fbf68814fbefb233d4
tree7bbe9021a3961f520cea953a98c27c46e187241e
parent4d3b5d90ca040d20bbd4cc8583ca1d483f48f5f9
hotplug-common: Do not adjust LD_LIBRARY_PATH

This is in the upstream script because on non-Debian systems, the
default install locations in /usr/local/lib might not be on the linker
path, and as a result the hotplug scripts would break.

A reason we might need it in Debian is our multiple version
coinstallation scheme.  However, the hotplug scripts all call the
utilities via the wrappers, and the binaries are configured to load
from the right place anyway.

This setting is an annoyance because it requires libdir, which is an
arch-specific path but comes from a file we want to put in
xen-utils-common, an arch:all package.

So drop this setting.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
Gbp-Pq: Name 0046-hotplug-common-Do-not-adjust-LD_LIBRARY_PATH.patch
tools/hotplug/Linux/xen-hotplug-common.sh.in