public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-sdk] f45: Add sbindir to PATH
@ 2026-10-07 17:15 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-07 17:15 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : flatpaks/flatpak-sdk
            Branch : f45
            Commit : 8bcf8caee6b83a470526b927b29e10994342691e
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2023-02-18T19:52:39-05:00
            Stats  : +1/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/flatpaks/flatpak-sdk/c/8bcf8caee6b83a470526b927b29e10994342691e?branch=f45

            Log:
            Add sbindir to PATH

flatpak uses a hardcoded default PATH=/app/bin:/usr/bin.  The
Freedesktop runtimes have a /usr/sbin -> bin symlink, and Flathub apps
will override sbindir with /app/bin where needed.  OTOH the Fedora
runtime consists of RPM packages with distinct /usr/bin and /usr/sbin,
and apps compiling from RPM spec files and therefore might end up with
binaries in /app/sbin too.

https://gitlab.com/fedora/sigs/flatpak/fedora-flatpaks/-/issues/8

---
diff --git a/container.yaml b/container.yaml
index 834233e..08429c2 100644
--- a/container.yaml
+++ b/container.yaml
@@ -13,6 +13,7 @@ flatpak:
         --env=GI_TYPELIB_PATH=/app/lib64/girepository-1.0
         --env=GST_PLUGIN_SYSTEM_PATH=/app/lib64/gstreamer-1.0:/usr/lib64/gstreamer-1.0
         --env=LD_LIBRARY_PATH=/app/lib64
+        --env=PATH=/app/sbin:/app/bin:/usr/sbin:/usr/bin
         --env=XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/share
         --extension=org.freedesktop.Platform.GL=version=1.4
         --extension=org.freedesktop.Platform.GL=directory=lib64/GL

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-07 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07 17:15 [flatpaks/flatpak-sdk] f45: Add sbindir to PATH Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox