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-runtime] f45: Add sbindir to PATH
Date: Fri, 11 Sep 2026 14:42:19 GMT [thread overview]
Message-ID: <178913773997.1.15427484639876152264.flatpaks-flatpak-runtime-5d9cb4d8c6bd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : flatpaks/flatpak-runtime
Branch : f45
Commit : 5d9cb4d8c6bd046d43ffd01ccb672f4c483210bd
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2023-02-17T16:18:49-05:00
Stats : +1/-0 in 1 file(s)
URL : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/5d9cb4d8c6bd046d43ffd01ccb672f4c483210bd?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 d7fe2c5..97ca8fe 100644
--- a/container.yaml
+++ b/container.yaml
@@ -10,6 +10,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-09-11 14:42 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=178913773997.1.15427484639876152264.flatpaks-flatpak-runtime-5d9cb4d8c6bd@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