spec: new upstream version v0.15.5

Resolves: RHEL-56894
This commit is contained in:
saypaul 2024-08-26 15:22:01 +05:30
parent d5e9bc1399
commit d8dbb459e1
2 changed files with 56 additions and 25 deletions

View File

@ -1,8 +1,8 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: greenboot Name: greenboot
Version: 0.15.4 Version: 0.15.5
Release: 6%{?dist} Release: 2%{?dist}
Summary: Generic Health Check Framework for systemd Summary: Generic Health Check Framework for systemd
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
@ -19,6 +19,7 @@ BuildRequires: systemd-rpm-macros
Requires: systemd >= 240 Requires: systemd >= 240
Requires: grub2-tools-minimal Requires: grub2-tools-minimal
Requires: rpm-ostree Requires: rpm-ostree
Requires: bootupd
# PAM is required to programatically read motd messages from /etc/motd.d/* # PAM is required to programatically read motd messages from /etc/motd.d/*
# This causes issues with RHEL-8 as the fix isn't there an el8 is on pam-1.3.x # This causes issues with RHEL-8 as the fix isn't there an el8 is on pam-1.3.x
Requires: pam >= 1.4.0 Requires: pam >= 1.4.0
@ -65,6 +66,7 @@ mkdir -p %{buildroot}%{_prefix}/lib/%{name}/check/required.d
mkdir %{buildroot}%{_prefix}/lib/%{name}/check/wanted.d mkdir %{buildroot}%{_prefix}/lib/%{name}/check/wanted.d
mkdir %{buildroot}%{_prefix}/lib/%{name}/green.d mkdir %{buildroot}%{_prefix}/lib/%{name}/green.d
mkdir %{buildroot}%{_prefix}/lib/%{name}/red.d mkdir %{buildroot}%{_prefix}/lib/%{name}/red.d
install -D -t %{buildroot}%{_prefix}/lib/bootupd/grub2-static/configs.d grub2/greenboot.cfg
mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_unitdir}/greenboot-healthcheck.service.d mkdir -p %{buildroot}%{_unitdir}/greenboot-healthcheck.service.d
mkdir -p %{buildroot}%{_tmpfilesdir} mkdir -p %{buildroot}%{_tmpfilesdir}
@ -122,16 +124,15 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam
%systemd_postun greenboot-loading-message.service %systemd_postun greenboot-loading-message.service
%files %files
%doc README.md
%license LICENSE %license LICENSE
%dir %{_libexecdir}/%{name} %doc README.md
%{_libexecdir}/%{name}/%{name} %dir %{_sysconfdir}/%{name}
%{_libexecdir}/%{name}/greenboot-loading-message %dir %{_sysconfdir}/%{name}/check
%{_unitdir}/greenboot-healthcheck.service %dir %{_sysconfdir}/%{name}/check/required.d
%{_unitdir}/greenboot-loading-message.service %dir %{_sysconfdir}/%{name}/check/wanted.d
%{_unitdir}/greenboot-task-runner.service %dir %{_sysconfdir}/%{name}/green.d
%{_unitdir}/redboot-task-runner.service %dir %{_sysconfdir}/%{name}/red.d
%{_unitdir}/redboot.target %config(noreplace) %{_sysconfdir}/%{name}/greenboot.conf
%dir %{_prefix}/lib/%{name} %dir %{_prefix}/lib/%{name}
%dir %{_prefix}/lib/%{name}/check %dir %{_prefix}/lib/%{name}/check
%dir %{_prefix}/lib/%{name}/check/required.d %dir %{_prefix}/lib/%{name}/check/required.d
@ -140,24 +141,28 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam
%{_prefix}/lib/%{name}/check/wanted.d/00_wanted_scripts_start.sh %{_prefix}/lib/%{name}/check/wanted.d/00_wanted_scripts_start.sh
%dir %{_prefix}/lib/%{name}/green.d %dir %{_prefix}/lib/%{name}/green.d
%dir %{_prefix}/lib/%{name}/red.d %dir %{_prefix}/lib/%{name}/red.d
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/check
%dir %{_sysconfdir}/%{name}/check/required.d
%dir %{_sysconfdir}/%{name}/check/wanted.d
%dir %{_sysconfdir}/%{name}/green.d
%dir %{_sysconfdir}/%{name}/red.d
%{_exec_prefix}/lib/motd.d/boot-status %{_exec_prefix}/lib/motd.d/boot-status
%{_libexecdir}/%{name}/greenboot-status
%{_tmpfilesdir}/greenboot-status-motd.conf %{_tmpfilesdir}/greenboot-status-motd.conf
%{_unitdir}/greenboot-status.service %{_prefix}/lib/bootupd/grub2-static/configs.d/*.cfg
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/%{name}
%{_libexecdir}/%{name}/greenboot-grub2-set-success
%{_libexecdir}/%{name}/greenboot-boot-remount
%{_libexecdir}/%{name}/greenboot-grub2-set-counter %{_libexecdir}/%{name}/greenboot-grub2-set-counter
%{_unitdir}/greenboot-grub2-set-success.service %{_libexecdir}/%{name}/greenboot-loading-message
%{_unitdir}/greenboot-grub2-set-counter.service %{_libexecdir}/%{name}/greenboot-status
%{_libexecdir}/%{name}/greenboot-rpm-ostree-grub2-check-fallback %{_libexecdir}/%{name}/greenboot-rpm-ostree-grub2-check-fallback
%{_unitdir}/greenboot-rpm-ostree-grub2-check-fallback.service
%{_libexecdir}/%{name}/redboot-auto-reboot %{_libexecdir}/%{name}/redboot-auto-reboot
%{_unitdir}/greenboot-grub2-set-counter.service
%{_unitdir}/greenboot-grub2-set-success.service
%{_unitdir}/greenboot-healthcheck.service
%{_unitdir}/greenboot-loading-message.service
%{_unitdir}/greenboot-status.service
%{_unitdir}/greenboot-task-runner.service
%{_unitdir}/greenboot-rpm-ostree-grub2-check-fallback.service
%{_unitdir}/redboot.target
%{_unitdir}/redboot-auto-reboot.service %{_unitdir}/redboot-auto-reboot.service
%{_sysconfdir}/%{name}/greenboot.conf %{_unitdir}/redboot-task-runner.service
%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
@ -166,6 +171,27 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam
%{_prefix}/lib/%{name}/check/required.d/02_watchdog.sh %{_prefix}/lib/%{name}/check/required.d/02_watchdog.sh
%changelog %changelog
* Thu Aug 22 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.5-2
- Reorder files, don't overwrite configs on update
* Fri Aug 16 2024 Sayan Paul <paul.sayan@gmail.com> - 0.15.5-1
- The 0.15.5 release
- Auto-detect image type and use correct rollback
- Support for read only /boot mount
- Warn users of missing disabled healthchecks
- Add feature to disable healthchecks
* Fri Feb 17 2023 Paul Whalen <pwhalen@fedoraproject.org> - 0.15.4-1
- The 0.15.4 release
- Fix update_platforms_check script
* Mon Nov 28 2022 Paul Whalen <pwhalen@fedoraproject.org> - 0.15.3-1
- The 0.15.3 release
- revert service-monitor
* Thu Sep 08 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.2-1
- The 0.15.2 release
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.15.4-6 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.15.4-6
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild
@ -232,6 +258,11 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam
- Add watchdog-triggered boot check - Add watchdog-triggered boot check
- Ensure all required health checks are run - Ensure all required health checks are run
* Thu Nov 18 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.14.0-1
- The 0.14.0 release
- Add watchdog-triggered boot check
- Ensure all required health checks are run
* Wed Nov 10 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.13.1-1 * Wed Nov 10 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.13.1-1
- Update to 0.13.1 - Update to 0.13.1
@ -290,4 +321,4 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam
- Spec Review - Spec Review
* Thu Jun 14 2018 Christian Glombek <lorbus@fedoraproject.org> - 0.4-1 * Thu Jun 14 2018 Christian Glombek <lorbus@fedoraproject.org> - 0.4-1
- Initial Package - Initial Package

View File

@ -1 +1 @@
SHA512 (v0.15.4.tar.gz) = c92a139d232183a1249946b399b5e17ed984ce207a557aaa65a9a23f04d71586f8394077e98e68574c2516fde6ff35599c77a2e8909f36278e60af9e0dd182e5 SHA512 (v0.15.5.tar.gz) = 27207b0e91c53caa9e9bf85b5f1bbfc0a499f1796d6e7b17b9c32866b3103db7a517e03752e5174ab03fc5b17b60eca898e112fbfe081fd3f89e3de3640c5eed