Compare commits

..

No commits in common. "c8" and "c8-beta" have entirely different histories.
c8 ... c8-beta

3 changed files with 20 additions and 5 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/v0.14.0.tar.gz SOURCES/greenboot-0.15.1.tar.gz

View File

@ -1 +1 @@
6c94c4e8961505c4b704248f77ed76f20892cd4d SOURCES/v0.14.0.tar.gz cd2aa9eae984e3d0f64d7423690e8955e7933ac3 SOURCES/greenboot-0.15.1.tar.gz

View File

@ -1,8 +1,8 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: greenboot Name: greenboot
Version: 0.14.0 Version: 0.15.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: Generic Health Check Framework for systemd Summary: Generic Health Check Framework for systemd
License: LGPLv2+ License: LGPLv2+
@ -11,7 +11,7 @@ License: LGPLv2+
%global repo_tag v%{version} %global repo_tag v%{version}
URL: https://github.com/%{repo_owner}/%{repo_name} URL: https://github.com/%{repo_owner}/%{repo_name}
Source0: https://github.com/%{repo_owner}/%{repo_name}/archive/%{repo_tag}.tar.gz Source0: https://github.com/%{repo_owner}/%{repo_name}/archive/%{repo_tag}.tar.g#/%{name}-%{version}.tar.gz
ExcludeArch: s390x ExcludeArch: s390x
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
@ -76,6 +76,7 @@ install -DpZm 0644 usr/lib/systemd/system/*.service %{buildroot}%{_unitdir}
install -DpZm 0644 usr/lib/tmpfiles.d/greenboot-status-motd.conf %{buildroot}%{_tmpfilesdir}/greenboot-status-motd.conf install -DpZm 0644 usr/lib/tmpfiles.d/greenboot-status-motd.conf %{buildroot}%{_tmpfilesdir}/greenboot-status-motd.conf
install -DpZm 0755 usr/lib/greenboot/check/required.d/* %{buildroot}%{_prefix}/lib/%{name}/check/required.d install -DpZm 0755 usr/lib/greenboot/check/required.d/* %{buildroot}%{_prefix}/lib/%{name}/check/required.d
install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib/%{name}/check/wanted.d install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib/%{name}/check/wanted.d
install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{name}/greenboot.conf
%post %post
%systemd_post greenboot-healthcheck.service %systemd_post greenboot-healthcheck.service
@ -88,6 +89,7 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%systemd_post greenboot-grub2-set-success.service %systemd_post greenboot-grub2-set-success.service
%systemd_post greenboot-rpm-ostree-grub2-check-fallback.service %systemd_post greenboot-rpm-ostree-grub2-check-fallback.service
%systemd_post redboot-auto-reboot.service %systemd_post redboot-auto-reboot.service
%systemd_post greenboot-service-monitor.service
%post default-health-checks %post default-health-checks
%systemd_post greenboot-loading-message.service %systemd_post greenboot-loading-message.service
@ -102,6 +104,7 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%systemd_preun greenboot-grub2-set-counter.service %systemd_preun greenboot-grub2-set-counter.service
%systemd_preun greenboot-grub2-set-success.service %systemd_preun greenboot-grub2-set-success.service
%systemd_preun greenboot-rpm-ostree-grub2-check-fallback.service %systemd_preun greenboot-rpm-ostree-grub2-check-fallback.service
%systemd_preun greenboot-service-monitor.service
%preun default-health-checks %preun default-health-checks
%systemd_preun greenboot-loading-message.service %systemd_preun greenboot-loading-message.service
@ -116,6 +119,7 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%systemd_postun greenboot-grub2-set-counter.service %systemd_postun greenboot-grub2-set-counter.service
%systemd_postun greenboot-grub2-set-success.service %systemd_postun greenboot-grub2-set-success.service
%systemd_postun greenboot-rpm-ostree-grub2-check-fallback.service %systemd_postun greenboot-rpm-ostree-grub2-check-fallback.service
%systemd_postun greenboot-service-monitor.service
%postun default-health-checks %postun default-health-checks
%systemd_postun greenboot-loading-message.service %systemd_postun greenboot-loading-message.service
@ -156,6 +160,9 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%{_unitdir}/greenboot-rpm-ostree-grub2-check-fallback.service %{_unitdir}/greenboot-rpm-ostree-grub2-check-fallback.service
%{_libexecdir}/%{name}/redboot-auto-reboot %{_libexecdir}/%{name}/redboot-auto-reboot
%{_unitdir}/redboot-auto-reboot.service %{_unitdir}/redboot-auto-reboot.service
%{_libexecdir}/%{name}/greenboot-service-monitor
%{_unitdir}/greenboot-service-monitor.service
%{_sysconfdir}/%{name}/greenboot.conf
%files default-health-checks %files default-health-checks
%{_prefix}/lib/%{name}/check/required.d/01_repository_dns_check.sh %{_prefix}/lib/%{name}/check/required.d/01_repository_dns_check.sh
@ -164,6 +171,14 @@ install -DpZm 0755 usr/lib/greenboot/check/wanted.d/* %{buildroot}%{_prefix}/lib
%{_prefix}/lib/%{name}/check/required.d/02_watchdog.sh %{_prefix}/lib/%{name}/check/required.d/02_watchdog.sh
%changelog %changelog
* Tue Aug 09 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.1-1
- Add conf during installation
* Thu Jul 21 2022 Sayan Paul <saypaul@fedoraproject.org> - 0.15.0-1
- The 0.15.0 release
- Add service-monitor
- Resolves: rhbz#2053469
* Tue Jan 18 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.14.0-3 * Tue Jan 18 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.14.0-3
- Obsolete greenboot-status - Obsolete greenboot-status