public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/flatpak-runtime-config] f45: Add profile.d snippet to set PATH
Date: Thu, 10 Sep 2026 21:22:02 GMT [thread overview]
Message-ID: <178907532226.1.13772173511799346486.rpms-flatpak-runtime-config-07e19e9fe955@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/flatpak-runtime-config
Branch : f45
Commit : 07e19e9fe955dae6ab6c82f9b5d4b0195d3c6434
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2025-09-28T13:21:26-04:00
Stats : +8/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/07e19e9fe955dae6ab6c82f9b5d4b0195d3c6434?branch=f45
Log:
Add profile.d snippet to set PATH
---
diff --git a/app.sh b/app.sh
new file mode 100644
index 0000000..c76b861
--- /dev/null
+++ b/app.sh
@@ -0,0 +1 @@
+PATH=/app/bin:$PATH
diff --git a/flatpak-runtime-config.spec b/flatpak-runtime-config.spec
index c62bb57..0b1ed79 100644
--- a/flatpak-runtime-config.spec
+++ b/flatpak-runtime-config.spec
@@ -16,6 +16,7 @@ Source7: org.fedoraproject.KDE5Sdk.appdata.xml
Source8: org.fedoraproject.KDE6Platform.appdata.xml
Source9: org.fedoraproject.KDE6Sdk.appdata.xml
Source10: 05-flatpak-fontpath.conf
+Source11: app.sh
License: MIT
@@ -42,6 +43,9 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
install -t $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d -p -m 0644 %{SOURCE1}
install -t $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d -p -m 0644 %{SOURCE10}
+# profile.d to set up command paths
+install -D -t $RPM_BUILD_ROOT%{_sysconfdir}/profile.d -p -m 0644 %{SOURCE11}
+
# usercustomize.py to set up Python paths
for d in %{python3_sitelib} ; do
mkdir -p $RPM_BUILD_ROOT/$d
@@ -89,10 +93,10 @@ _EOF
# and this will make sure it is created install time, as it would be
# system-wide.
-%post -p /sbin/ldconfig
+%post -p /bin/ldconfig
%transfiletriggerin -P 1999999 -- /app/lib /app/lib64 /app/etc/ld.so.conf.d
-/sbin/ldconfig
+/bin/ldconfig
%transfiletriggerin -P 99999 -- /app/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders /usr/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders
gdk-pixbuf-query-loaders-%{__isa_bits} > /usr/%{_lib}/gdk-pixbuf-2.0/2.10.0/loaders.cache
@@ -125,6 +129,7 @@ done
%{_sysconfdir}/flatpak-builder/
%{_sysconfdir}/fonts/conf.d/*
%{_sysconfdir}/ld.so.conf.d/app.conf
+%{_sysconfdir}/profile.d/app.sh
%changelog
%autochangelog
reply other threads:[~2026-09-10 21:22 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=178907532226.1.13772173511799346486.rpms-flatpak-runtime-config-07e19e9fe955@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