Skip to content
Snippets Groups Projects

WIP: Change how we create xdg-open, etc.

Merged Simon McVittie requested to merge wip/smcv/symlinks into master
  • runtimes: Only create xdg-email, xdg-open if appropriate

    If a runtime already contains /usr/bin/xdg-email or /usr/bin/xdg-open, don't overwrite it. This is a prerequisite for being able to install our own version of xdg-open that handles certain URI schemes such as steam: more cleverly.

    Conversely, if a runtime doesn't contain flatpak-xdg-utils (heavy currently doesn't), then don't create these symlinks. This means we can use the same code for everything, including heavy.

  • runtimes: Only create symlinks to busybox if they don't already exist

    If we install a "full-fat" implementation of ip, vi, xxd, etc. later, we won't want to override it with the busybox implementation.


Needs testing (I'll need to do a build with this change).

/cc @denittis

Merge request reports

Merged by Simon McVittieSimon McVittie 3 years ago (Mar 31, 2021 5:38pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading