public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [flatpaks/flatpak-sdk] f45: Add sbindir to PATH
Date: Wed, 07 Oct 2026 17:15:43 GMT	[thread overview]
Message-ID: <179139334379.1.11402003879320747329.flatpaks-flatpak-sdk-8bcf8caee6b8@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-07 17:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179139334379.1.11402003879320747329.flatpaks-flatpak-sdk-8bcf8caee6b8@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox