From 2b6487c7ae1ac37b2202d8568f3bad62773b103f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 21 Feb 2019 16:08:12 +0000 Subject: [PATCH] hotplug-common: Strip arch-specific libdir from config file Closes: #862236 Signed-off-by: Ian Jackson --- debian/rules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index 6a4a5e19dc..4d3ff89219 100755 --- a/debian/rules +++ b/debian/rules @@ -229,6 +229,12 @@ override_dh_auto_install: $(TEMPLATED_FILES) armhf) ;; \ *) mv $t/usr/lib64/efi/* $t/boot/. ;; \ esac + : + @# This file contains an arch-specific path and we put it + @# in xen-utils-common, an arch-all package. But the + @# path is only used to put the libdir on LD_LIBRARY_PATH + @# in the hotplug scripts. We have a patch to drop that. + sed -i '/^libdir=/d' $t/etc/xen/scripts/hotplugpath.sh # libfsimage not only has an unstable ABI, but also a very poor name. # Our makefile patch puts it in a different directory and fixes up the -- 2.39.5