From f76fed00c9c9289b354e7f8dd6f14ea699ef16a2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 4 Jun 2020 18:21:34 -0400 Subject: Bsdtar (#42) * Add docker build image * Use bsdtar * Disable ORIGIN * tar is bsdtar * Use absolute rpath * Replace matched path with destroot+libpath * No RPATH recieves a likely default path * Use RPATH not RUNPATH * Add bsdtar to circleci deps * Replace tar references --- lib/relocation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/relocation.c') diff --git a/lib/relocation.c b/lib/relocation.c index a0ba6a6..870d7cf 100644 --- a/lib/relocation.c +++ b/lib/relocation.c @@ -423,7 +423,7 @@ void relocate_root(const char *destroot, const char *baseroot) { if (SPM_GLOBAL.verbose) { printf("Relocate RPATH: %s\n", b_record[i]->path); } - rpath_autoset(b_record[i]->path, libs); + rpath_autoset(b_record[i]->path, libs, destroot); } if (SPM_GLOBAL.verbose) { printf("Relocate DATA : %s\n", b_record[i]->path); -- cgit