public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Remember to actually add the .service file, doh...
Date: Mon, 23 Nov 2026 09:33:16 GMT	[thread overview]
Message-ID: <179542639651.1.13720214065906588033.rpms-rpm-b0706603296a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpm
            Branch : pmatilai-v6
            Commit : b0706603296a0ca9188ee26d2696f745b1a9b50d
            Author : Panu Matilainen <pmatilai@redhat.com>
            Date   : 2020-04-22T12:18:02+03:00
            Stats  : +19/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/b0706603296a0ca9188ee26d2696f745b1a9b50d?branch=pmatilai-v6

            Log:
            Remember to actually add the .service file, doh...

Should've been in commit c091c2fcdcd40897604c45fa51720746703d2a5b

---
diff --git a/rpmdb-rebuild.service b/rpmdb-rebuild.service
new file mode 100644
index 0000000..0580adb
--- /dev/null
+++ b/rpmdb-rebuild.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=RPM database rebuild
+ConditionPathExists=/var/lib/rpm/.rebuilddb
+
+# This should run before any daemons that may open the rpmdb
+DefaultDependencies=no
+After=sysinit.target
+Before=basic.target shutdown.target
+Conflicts=shutdown.target
+# In case /var is remote-mounted
+RequiresMountsFor=/var
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/rpmdb --rebuilddb
+ExecStartPost=rm -f /var/lib/rpm/.rebuilddb
+
+[Install]
+WantedBy=basic.target

                 reply	other threads:[~2026-11-23  9:33 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=179542639651.1.13720214065906588033.rpms-rpm-b0706603296a@fedoraproject.org \
    --to=pmatilai@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