<p style="white-space: pre-wrap; word-wrap: break-word;">Quick question Pau. I was looking at the function parameters of the "change_elf_rapth". What do you think of modifying the arguments to accept a bool that adds the "--force-rpath" option instead of writing a new function? It would look like something like this:</p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">def change_elf_rpath(binary, paths, run_dir, force_rpath=false):<br>    '''<br>    Change RPATH field in ELF executable binary.<br>    This feature can be used to tell the loaded to load the trial libraries, as<br>    LD_LIBRARY_PATH is disabled for paths with modified capabilities.<br>    '''<br>    from .process import Process<br>    args = '--force-rpath --set-rpath' if force_rpath else '--set-rpath'<br>    proc = Process('patchelf', run_dir, ['patchelf', args, paths, binary])<br>    proc.launch_sync()</pre><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272">change 24272</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2d4a105d4843c0d31d6b5d8f8d4195247b290aec </div>
<div style="display:none"> Gerrit-Change-Number: 24272 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: alealcon <alejandro.leal@srs.io> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 02 Jun 2021 19:36:52 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>