public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Enable Count Me support for Silverblue and IoT
@ 2026-08-10  9:35 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-10  9:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : f8a74ebd080215c1b479fb26cad440d2736d5913
            Author : Timothée Ravier <tim@siosm.fr>
            Date   : 2021-03-17T12:51:43+01:00
            Stats  : +12/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/f8a74ebd080215c1b479fb26cad440d2736d5913?branch=f45

            Log:
            Enable Count Me support for Silverblue and IoT

Enable Count Me support by default for Silverblue and IoT. Users that
do not want to be counted can follow the instructions at:
https://coreos.github.io/rpm-ostree/countme/#disabling-dnf-count-me-on-a-system

---
diff --git a/fedora-release.spec b/fedora-release.spec
index 32796c6..809b8dc 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -98,6 +98,7 @@ Recommends:     fedora-release-identity-basic
 
 
 BuildRequires:  redhat-rpm-config > 121-1
+BuildRequires:  systemd-rpm-macros
 
 %description
 Fedora release files such as various /etc/ files that define the release
@@ -999,6 +1000,12 @@ install -Dm0644 %{SOURCE16} -t %{buildroot}%{_datadir}/glib-2.0/schemas/
 install -Dm0644 %{SOURCE17} -t %{buildroot}%{_datadir}/polkit-1/rules.d/
 %endif
 
+%if %{with silverblue} || %{with iot}
+# Pull Count Me timer for rpm-ostreed
+install -dm0755 %{buildroot}%{_unitdir}/rpm-ostreed.service.wants/
+ln -snf %{_unitdir}/rpm-ostree-countme.timer %{buildroot}%{_unitdir}/rpm-ostreed.service.wants/
+%endif
+
 %if %{with xfce}
 # Xfce
 cp -p os-release \
@@ -1152,6 +1159,7 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 %{_prefix}/lib/systemd/user-preset/80-iot-user.preset
 %attr(0644,root,root) %{_swidtagdir}/org.fedoraproject.Fedora-edition.swidtag.iot
 %{_prefix}/lib/zezere-ignition-url
+%{_unitdir}/rpm-ostreed.service.wants/rpm-ostree-countme.timer
 %endif
 
 
@@ -1189,6 +1197,7 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.override
 %{_prefix}/lib/systemd/system-preset/80-workstation.preset
 %attr(0644,root,root) %{_prefix}/share/polkit-1/rules.d/org.projectatomic.rpmostree1.rules
+%{_unitdir}/rpm-ostreed.service.wants/rpm-ostree-countme.timer
 %endif
 
 
@@ -1229,6 +1238,9 @@ ln -s %{_swidtagdir} %{buildroot}%{_sysconfdir}/swid/swidtags.d/fedoraproject.or
 
 
 %changelog
+* Wed Mar 17 2021 Timothée Ravier <travier@redhat.com> - 35-0.4
+- Enable Count Me timer for Silverblue and IoT
+
 * Sat Feb 20 2021 Stephen Gallagher <sgallagh@redhat.com> - 35-0.3
 - Update rhel_dist_version to track RHEL 10
 

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

only message in thread, other threads:[~2026-08-10  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  9:35 [rpms/fedora-release] f45: Enable Count Me support for Silverblue and IoT 

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