public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/freeipmi] f45: Add tmpfiles configs for image mode
Date: Mon, 14 Sep 2026 10:42:28 GMT	[thread overview]
Message-ID: <178938254899.1.7667066492680706043.rpms-freeipmi-bb59f1dd6357@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/freeipmi
Branch : f45
Commit : bb59f1dd6357d2c16ea6b753524c35020d168fb1
Author : Lukáš Zaoral <lzaoral@redhat.com>
Date   : 2026-07-21T16:35:50+02:00
Stats  : +12/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/freeipmi/c/bb59f1dd6357d2c16ea6b753524c35020d168fb1?branch=f45

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 -

                 reply	other threads:[~2026-09-14 10: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=178938254899.1.7667066492680706043.rpms-freeipmi-bb59f1dd6357@fedoraproject.org \
    --to=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