aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-06-25 20:03:13 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-06-25 20:04:29 +0200
commit315b078fe8142e9d609e65a05c12f3a5cc4f38ce (patch)
treeffd4b680b485b807df897e7bb646a2627da13c91 /src/osmo_gsm_tester
parent82ced3fb1da7af2875145ffb80483c0c1e2ce122 (diff)
Drop using patchelf out of PATH
New patchelf 0.11 release is out and it has fixes hitting us in both 0.9 and 0.10 on different binaries. So let's simply requiring having patchelf 0.11 in all cases and be done with it (actually, if not running 4G binaries, using 0.9 is enough). Related: OS#4389 Change-Id: I2701e46e7710db4c923a68e6b3a2f3c7b126f356
Diffstat (limited to 'src/osmo_gsm_tester')
-rw-r--r--src/osmo_gsm_tester/obj/ms_amarisoft.py1
-rw-r--r--src/osmo_gsm_tester/obj/ms_srs.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/osmo_gsm_tester/obj/ms_amarisoft.py b/src/osmo_gsm_tester/obj/ms_amarisoft.py
index b2dc9c7..565786b 100644
--- a/src/osmo_gsm_tester/obj/ms_amarisoft.py
+++ b/src/osmo_gsm_tester/obj/ms_amarisoft.py
@@ -145,7 +145,6 @@ class AmarisoftUE(MS):
# setting capabilities will later disable use of LD_LIBRARY_PATH from ELF loader -> modify RPATH instead.
self.log('Setting RPATH for ltetue')
# patchelf >= 0.10 is required to support passing several files at once:
- self.rem_host.set_remote_env({'PATCHELF_BIN': '/opt/bin/patchelf-v0.10' })
self.rem_host.change_elf_rpath(remote_binary, str(self.remote_inst))
# We also need to patch the arch-optimized binaries that lteue() will exec() into:
self.rem_host.change_elf_rpath(self.remote_inst.child('', 'lteue-*'), str(self.remote_inst))
diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py
index 04df1ba..9f77bb6 100644
--- a/src/osmo_gsm_tester/obj/ms_srs.py
+++ b/src/osmo_gsm_tester/obj/ms_srs.py
@@ -176,7 +176,6 @@ class srsUE(MS):
# setting capabilities will later disable use of LD_LIBRARY_PATH from ELF loader -> modify RPATH instead.
self.log('Setting RPATH for srsue')
# srsue binary needs patchelf >= 0.9+52 to avoid failing during patch. OS#4389, patchelf-GH#192.
- self.rem_host.set_remote_env({'PATCHELF_BIN': '/opt/bin/patchelf-v0.10' })
self.rem_host.change_elf_rpath(remote_binary, remote_lib)
# srsue requires CAP_SYS_ADMIN to jump to net network namespace: netns(CLONE_NEWNET):