Skip to content

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

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