public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/freeipmi] f43: Add tmpfiles configs for image mode
@ 2026-09-20 17:59 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-09-20 17:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/freeipmi
Branch : f43
Commit : b4628d609dda00facee6be110d19556436a55eed
Author : Lukáš Zaoral <lzaoral@redhat.com>
Date   : 2026-09-20T19:58:50+02:00
Stats  : +12/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/freeipmi/c/b4628d609dda00facee6be110d19556436a55eed?branch=f43

Log:
Add tmpfiles configs for image mode

---
diff --git a/freeipmi-ipmiseld.tmpfiles.conf b/freeipmi-ipmiseld.tmpfiles.conf
new file mode 100644
index 0000000..7d0ff3d
--- /dev/null
+++ b/freeipmi-ipmiseld.tmpfiles.conf
@@ -0,0 +1 @@
+d /var/cache/ipmiseld   0755 root root -

diff --git a/freeipmi.spec b/freeipmi.spec
index 797a66a..3185825 100644
--- a/freeipmi.spec
+++ b/freeipmi.spec
@@ -8,6 +8,8 @@ Source0:          https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
 Source1:          bmc-watchdog.service
 Source2:          ipmidetectd.service
 Source3:          ipmiseld.service
+Source4:          freeipmi.tmpfiles.conf
+Source5:          freeipmi-ipmiseld.tmpfiles.conf
 BuildRequires:    libgcrypt-devel texinfo systemd 
 %{?systemd_requires}
 BuildRequires:    gcc
@@ -77,6 +79,10 @@ find %{buildroot} -name '*.la' -delete -print
 install -m755 -d %{buildroot}%{_unitdir}
 install -pm644 %SOURCE1 %SOURCE2 %SOURCE3 %{buildroot}%{_unitdir}/
 
+# Install tmpfiles configs
+install -m0644 -D %{SOURCE4} %{buildroot}%{_tmpfilesdir}/freeipmi.conf
+install -m0644 -D %{SOURCE5} %{buildroot}%{_tmpfilesdir}/freeipmi-ipmiseld.conf
+
 # Remove initscripts
 rm -frv %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/init.d
 
@@ -262,6 +268,7 @@ rm -frv %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/init.d
 %{_mandir}/man5/libipmiconsole.conf.5*
 %{_mandir}/man7/freeipmi.7*
 %dir %{_localstatedir}/cache/ipmimonitoringsdrcache
+%{_tmpfilesdir}/freeipmi.conf
 
 %files devel
 %dir %{_datadir}/doc/%{name}/contrib/libipmimonitoring
@@ -345,6 +352,7 @@ rm -frv %{buildroot}%{_initrddir} %{buildroot}%{_sysconfdir}/init.d
 %{_mandir}/man5/ipmiseld.conf.5*
 %{_mandir}/man8/ipmiseld.8*
 %dir %{_localstatedir}/cache/ipmiseld
+%{_tmpfilesdir}/freeipmi-ipmiseld.conf
 
 %changelog
 %autochangelog

diff --git a/freeipmi.tmpfiles.conf b/freeipmi.tmpfiles.conf
new file mode 100644
index 0000000..7644cba
--- /dev/null
+++ b/freeipmi.tmpfiles.conf
@@ -0,0 +1,3 @@
+d /var/lib/freeipmi                   0755 root root -
+f /var/lib/freeipmi/ipckey            0644 root root - freeipmi\n
+d /var/cache/ipmimonitoringsdrcache   0755 root root -

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

only message in thread, other threads:[~2026-09-20 17:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 17:59 [rpms/freeipmi] f43: Add tmpfiles configs for image mode 

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