|
|
@ -1,8 +1,8 @@
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
Name: greenboot
|
|
|
|
Name: greenboot
|
|
|
|
Version: 0.15.4
|
|
|
|
Version: 0.15.7
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Release: 1%{?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
|
|
|
|
|
|
|
|
|
|
|
@ -77,6 +77,7 @@ install -DpZm 0644 usr/lib/tmpfiles.d/greenboot-status-motd.conf %{buildroot}%{_
|
|
|
|
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
|
|
|
|
install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{name}/greenboot.conf
|
|
|
|
|
|
|
|
install -DpZm 0644 etc/grub.d/greenboot.cfg %{buildroot}%{_sysconfdir}/grub.d/greenboot.cfg
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%post
|
|
|
|
%systemd_post greenboot-healthcheck.service
|
|
|
|
%systemd_post greenboot-healthcheck.service
|
|
|
@ -89,6 +90,9 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam
|
|
|
|
%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
|
|
|
|
|
|
|
|
if [ -d /usr/lib/bootupd/grub2-static/configs.d ]; then
|
|
|
|
|
|
|
|
cp /etc/grub.d/greenboot.cfg /usr/lib/bootupd/grub2-static/configs.d
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%post default-health-checks
|
|
|
|
%post default-health-checks
|
|
|
|
%systemd_post greenboot-loading-message.service
|
|
|
|
%systemd_post greenboot-loading-message.service
|
|
|
@ -117,21 +121,23 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam
|
|
|
|
%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
|
|
|
|
|
|
|
|
if [ -f /usr/lib/bootupd/grub2-static/configs.d/greenboot.cfg ]; then
|
|
|
|
|
|
|
|
rm -f /usr/lib/bootupd/grub2-static/configs.d/greenboot.cfg
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%postun default-health-checks
|
|
|
|
%postun default-health-checks
|
|
|
|
%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 +146,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
|
|
|
|
%{_sysconfdir}/grub.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,53 +176,43 @@ 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
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.15.4-6
|
|
|
|
* Thu Oct 31 2024 Sayan Paul <paul.sayan@gmail.com> - 0.15.7-1
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Update to 0.15.7
|
|
|
|
|
|
|
|
- Reword warning message for disabled checks
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.4-5
|
|
|
|
- Fixed the issue that boot_counter cannot be unset and some scripts do not have executable permissions
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
- Packit: only use IoT relevant branches
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.4-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.4-3
|
|
|
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.4-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 20 2023 Packit <hello@packit.dev> - 0.15.4-1
|
|
|
|
|
|
|
|
- Release v0.15.4 (Paul Whalen)
|
|
|
|
|
|
|
|
- checks: update assignment of platform URLs var (Micah Abbott)
|
|
|
|
|
|
|
|
- Revert "update_platforms_check: quote array for ShellCheck fix" (Micah Abbott)
|
|
|
|
|
|
|
|
- Update README.md (alcir)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 29 2022 Packit <hello@packit.dev> - 0.15.3-1
|
|
|
|
|
|
|
|
- Release 0.15.3 (Paul Whalen)
|
|
|
|
|
|
|
|
- packit: add koji, bodhi jobs, upstream url (Paul Whalen)
|
|
|
|
|
|
|
|
- packit.yaml: Fix deprecated and renamed keys. (Paul Whalen)
|
|
|
|
|
|
|
|
- greenboot: fix exit status with unknown argument (Paul Whalen)
|
|
|
|
|
|
|
|
- greenboot-grub2-set-counter.service: ensure /boot is mounted (Adam Williamson)
|
|
|
|
|
|
|
|
- check-fallbback: ShellCheck fix (Micah Abbott)
|
|
|
|
|
|
|
|
- greenboot-grub2-set-counter: ShellCheck fix (Micah Abbott)
|
|
|
|
|
|
|
|
- greenboot-status: fix or statements to default to true (Micah Abbott)
|
|
|
|
|
|
|
|
- update_platforms_check: quote array for ShellCheck fix (Micah Abbott)
|
|
|
|
|
|
|
|
- watchdog.sh: ShellCheck fixes (Micah Abbott)
|
|
|
|
|
|
|
|
- add shellcheck GH action (Micah Abbott)
|
|
|
|
|
|
|
|
- Revert "disable DefaultDependencies to fix cycle error" (Antonio Murdaca)
|
|
|
|
|
|
|
|
- Revert "Add greenboot-service-monitor.service for service health checking" (Antonio Murdaca)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 23 2022 Adam Williamson <awilliam@redhat.com> - 0.15.2-2
|
|
|
|
|
|
|
|
- Backport PR #84 to fix RHBZ #2121944
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 08 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.2-1
|
|
|
|
* Tue Sep 17 2024 saypaul <paul.sayan@gmail.com> - 0.15.6-2
|
|
|
|
- Update to 0.15.2
|
|
|
|
- Update to 0.15.6-2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 10 2024 Paul Whalen <pwhalen@fedoraproject.org> - 0.15.6-1
|
|
|
|
|
|
|
|
- Update to 0.15.6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 10 2024 Paul Whalen <pwhalen@fedoraproject.org> - 0.15.5-3
|
|
|
|
|
|
|
|
- Moved greenboot config to /etc/grub.d.
|
|
|
|
|
|
|
|
- %post symlink greenboot.cfg to bootupd if present
|
|
|
|
|
|
|
|
- %postun remove symlink from bootupd if present
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 22 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.5-2
|
|
|
|
|
|
|
|
- Reorder files, don't overwrite configs on update
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 31 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.1-2
|
|
|
|
* Fri Aug 16 2024 saypaul <paul.sayan@gmail.com> - 0.15.5-1
|
|
|
|
- disable DefaultDependencies to fix cycle error
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 09 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.1-1
|
|
|
|
* Tue Aug 09 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.1-1
|
|
|
|
- Add conf during installation
|
|
|
|
- Add conf during installation
|
|
|
@ -221,12 +221,6 @@ install -DpZm 0644 etc/greenboot/greenboot.conf %{buildroot}%{_sysconfdir}/%{nam
|
|
|
|
- The 0.15.0 release
|
|
|
|
- The 0.15.0 release
|
|
|
|
- Add service-monitor
|
|
|
|
- Add service-monitor
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 18 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.14.0-1
|
|
|
|
* Thu Nov 18 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 0.14.0-1
|
|
|
|
- The 0.14.0 release
|
|
|
|
- The 0.14.0 release
|
|
|
|
- Add watchdog-triggered boot check
|
|
|
|
- Add watchdog-triggered boot check
|
|
|
|