Skip to content
Snippets Groups Projects

runtime: When copying the runtime, generate a new /etc/ld.so.cache

Merged Ludovico de Nittis requested to merge wip/denittis/regenerate-ldso-cache into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Simon McVittie mentioned in merge request !182 (closed)

    mentioned in merge request !182 (closed)

  • Ludovico de Nittis resolved all threads

    resolved all threads

  • added 1 commit

    • fc56747c - runtime: When copying the runtime, generate a new /etc/ld.so.cache

    Compare with previous version

    • 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 the overrides directory.

      I'm investigating what is holding back libGL.so.1.

  • Ludovico de Nittis mentioned in merge request !342 (merged)

    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

    Compare with previous version

  • Ludovico de Nittis marked this merge request as ready

    marked this merge request as ready

  • Ludovico de Nittis changed the description

    changed the description

  • Ludovico de Nittis requested review from @smcv

    requested review from @smcv

  • Simon McVittie
  • Simon McVittie
  • Simon McVittie
  • Simon McVittie
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading