public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [flatpaks/flatpak-runtime] f45: Add sbindir to PATH
@ 2026-09-11 14:42 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-11 14:42 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 14:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 14:42 [flatpaks/flatpak-runtime] 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