WIP: Change how we create xdg-open, etc.
-
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
Activity
added Needs testing label
mentioned in merge request !17 (closed)
Internal CI build
playground/sniper/build#64
says this basically works for the case where we are not supplying our ownxdg-open
.I'm going to try another test-build with steam-runtime-tools!283 (merged), steamrt!98 (merged) and this, to check that it also does the right thing for the case where we are supplying our own
xdg-open
.added 1 commit
- 78480478 - runtimes: Only create symlinks to busybox if they don't already exist