From 1af93f46dd8728c5803c471392a5f97bf4e13e38 Mon Sep 17 00:00:00 2001 From: Vadim Yalovets Date: Thu, 8 Aug 2024 13:13:17 +0300 Subject: [PATCH] PKG-150 Unable to fetch version for percona-xtrabackup-84 packages --- storage/innobase/xtrabackup/utils/debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/storage/innobase/xtrabackup/utils/debian/rules b/storage/innobase/xtrabackup/utils/debian/rules index a9e7f217020..9697b7f3cbd 100755 --- a/storage/innobase/xtrabackup/utils/debian/rules +++ b/storage/innobase/xtrabackup/utils/debian/rules @@ -18,6 +18,7 @@ endif builddir = release builddirdebug = debug rpath='$$ORIGIN/../lib/private' +originrpath='$$ORIGIN' override_dh_auto_configure: @@ -65,6 +66,7 @@ override_dh_install: mkdir -p debian/percona-xtrabackup-84/usr/bin/ cp ./$(builddir)/library_output_directory/libprotobuf-lite.so* debian/percona-xtrabackup-84/usr/lib/private/ cp ./$(builddirdebug)/runtime_output_directory/xtrabackup debian/percona-xtrabackup-84/usr/bin/xtrabackup-debug + patchelf --debug --set-rpath $(originrpath) debian/percona-xtrabackup-84/usr/lib/private/libprotobuf-lite.so* patchelf --debug --set-rpath $(rpath) debian/percona-xtrabackup-84/usr/bin/xtrabackup-debug @echo "RULES.$@"