runtime: When copying the runtime, generate a new /etc/ld.so.cache
This avoids relying on the LD_LIBRARY_PATH as a way to get the overridden libraries into place.
The last commit from !182 (closed) has been used as a starting point.
This MR supersedes !182 (closed).
I did some manual testings, including the Flatpak sub-sandbox, and so far it seems to be working as expected. The automated tests are succeeding too.
/cc @smcv
Edited by Ludovico de Nittis
Merge request reports
Activity
- Resolved by Ludovico de Nittis
mentioned in merge request !182 (closed)
added 1 commit
- fc56747c - runtime: When copying the runtime, generate a new /etc/ld.so.cache
- Resolved by Simon McVittie
It seems like this MR exposes an odd behavior in the automated tests that is preventing
libGL.so.1
to be deleted from the runtime copy because available in theoverrides
directory.I'm investigating what is holding back
libGL.so.1
.
mentioned in merge request !342 (merged)
added 24 commits
-
fc56747c...47dc463c - 22 commits from branch
master
- 32050bd2 - runtime: Delete overridden libraries from the correct "mesa" path
- 0fc67dbf - runtime: When copying the runtime, generate a new /etc/ld.so.cache
-
fc56747c...47dc463c - 22 commits from branch
requested review from @smcv
assigned to @denittis
- Resolved by Ludovico de Nittis
- Resolved by Ludovico de Nittis
- Resolved by Ludovico de Nittis
- Resolved by Ludovico de Nittis
- Resolved by Ludovico de Nittis
- Resolved by Simon McVittie
- Resolved by Simon McVittie
- Resolved by Ludovico de Nittis
Please register or sign in to reply