Change in osmo-gsm-tester[master]: util: adds the feature to force the rpath when patching files.

alealcon gerrit-no-reply at lists.osmocom.org
Thu Jun 3 20:10:00 UTC 2021


alealcon has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272 )

Change subject: util: adds the feature to force the rpath when patching files.
......................................................................


Patch Set 1:

> Patch Set 1:
> 
> Hi, did you think about using chroot? iirc it can be applied directly based on ssh login by means of sshd config file, for instance based on user ip address or alike.
> This way you could chroot into /mnt/nfs directly whenever you ssh into it, and you would probably avoid this kind of issues.

Yes, we are using chroot for debugging purposes. We used the buildroot utility to build the toolchain and the rootfs, so we can select the tools that the rootfs will have. We did it because the base system doesn't have development tools (the ldd command that I posted before was crosscompiled and deployed in the nfs. 

I didn't know that chroot can be applied on ssh. That probably will solve a lot of problems. Do you think its possible that OGT will log with ssh into a chroot? If that is possible the code won't change, because there will be no need to specify an rpath or dynamic-linker to the crosscompiled srsenb. 

I'm going to do a little search of how configure that. Can you provide some support with that feature in OGT? OGT it's still too big to me to know how can it be achieved.

Thanks for your suggestion Pau. It's awesome!!


-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/24272
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I2d4a105d4843c0d31d6b5d8f8d4195247b290aec
Gerrit-Change-Number: 24272
Gerrit-PatchSet: 1
Gerrit-Owner: alealcon <alejandro.leal at srs.io>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Thu, 03 Jun 2021 20:10:00 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210603/cf29c7e4/attachment.htm>


More information about the gerrit-log mailing list