Compare commits

...

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

2
.gitignore vendored

@ -1 +1 @@
SOURCES/v0.15.7.tar.gz SOURCES/v0.15.4.tar.gz

@ -1 +1 @@
71aa96136423bf9341d7c9c6dbc9031781d4bfde SOURCES/v0.15.7.tar.gz 2e9791bf98c5f1ac57c2ddf7be4dc04d59a9a6f3 SOURCES/v0.15.4.tar.gz

@ -1,8 +1,8 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: greenboot Name: greenboot
Version: 0.15.7 Version: 0.15.4
Release: 1%{?dist} Release: 6%{?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,7 +77,6 @@ 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
@ -90,9 +89,6 @@ install -DpZm 0644 etc/grub.d/greenboot.cfg %{buildroot}%{_sysconfdir}/grub.d/gr
%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
@ -121,23 +117,21 @@ fi
%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
%license LICENSE
%doc README.md %doc README.md
%dir %{_sysconfdir}/%{name} %license LICENSE
%dir %{_sysconfdir}/%{name}/check %dir %{_libexecdir}/%{name}
%dir %{_sysconfdir}/%{name}/check/required.d %{_libexecdir}/%{name}/%{name}
%dir %{_sysconfdir}/%{name}/check/wanted.d %{_libexecdir}/%{name}/greenboot-loading-message
%dir %{_sysconfdir}/%{name}/green.d %{_unitdir}/greenboot-healthcheck.service
%dir %{_sysconfdir}/%{name}/red.d %{_unitdir}/greenboot-loading-message.service
%config(noreplace) %{_sysconfdir}/%{name}/greenboot.conf %{_unitdir}/greenboot-task-runner.service
%{_unitdir}/redboot-task-runner.service
%{_unitdir}/redboot.target
%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
@ -146,28 +140,24 @@ fi
%{_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
%{_sysconfdir}/grub.d/*.cfg %{_unitdir}/greenboot-status.service
%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
%{_libexecdir}/%{name}/greenboot-loading-message
%{_libexecdir}/%{name}/greenboot-status
%{_libexecdir}/%{name}/greenboot-rpm-ostree-grub2-check-fallback
%{_libexecdir}/%{name}/redboot-auto-reboot
%{_unitdir}/greenboot-grub2-set-counter.service
%{_unitdir}/greenboot-grub2-set-success.service %{_unitdir}/greenboot-grub2-set-success.service
%{_unitdir}/greenboot-healthcheck.service %{_unitdir}/greenboot-grub2-set-counter.service
%{_unitdir}/greenboot-loading-message.service %{_libexecdir}/%{name}/greenboot-rpm-ostree-grub2-check-fallback
%{_unitdir}/greenboot-status.service
%{_unitdir}/greenboot-task-runner.service
%{_unitdir}/greenboot-rpm-ostree-grub2-check-fallback.service %{_unitdir}/greenboot-rpm-ostree-grub2-check-fallback.service
%{_unitdir}/redboot.target %{_libexecdir}/%{name}/redboot-auto-reboot
%{_unitdir}/redboot-auto-reboot.service %{_unitdir}/redboot-auto-reboot.service
%{_unitdir}/redboot-task-runner.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
@ -176,43 +166,56 @@ fi
%{_prefix}/lib/%{name}/check/required.d/02_watchdog.sh %{_prefix}/lib/%{name}/check/required.d/02_watchdog.sh
%changelog %changelog
* Thu Oct 31 2024 Sayan Paul <paul.sayan@gmail.com> - 0.15.7-1 * Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.15.4-6
- Update to 0.15.7 - Rebuilt for MSVSphere 10
- Reword warning message for disabled checks
- Fixed the issue that boot_counter cannot be unset and some scripts do not have executable permissions * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.15.4-6
- Packit: only use IoT relevant branches - Bump release for June 2024 mass rebuild
* Tue Sep 17 2024 saypaul <paul.sayan@gmail.com> - 0.15.6-2 * Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.4-5
- Update to 0.15.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Sep 10 2024 Paul Whalen <pwhalen@fedoraproject.org> - 0.15.6-1 * Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.4-4
- Update to 0.15.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Sep 10 2024 Paul Whalen <pwhalen@fedoraproject.org> - 0.15.5-3 * Thu Jul 27 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.4-3
- Moved greenboot config to /etc/grub.d. - migrated to SPDX license
- %post symlink greenboot.cfg to bootupd if present
- %postun remove symlink from bootupd if present * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Aug 22 2024 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.5-2
- Reorder files, don't overwrite configs on update * Mon Feb 20 2023 Packit <hello@packit.dev> - 0.15.4-1
- Release v0.15.4 (Paul Whalen)
* Fri Aug 16 2024 saypaul <paul.sayan@gmail.com> - 0.15.5-1 - checks: update assignment of platform URLs var (Micah Abbott)
- The 0.15.5 release - Revert "update_platforms_check: quote array for ShellCheck fix" (Micah Abbott)
- Auto-detect image type and use correct rollback - Update README.md (alcir)
- Support for read only /boot mount
- Warn users of missing disabled healthchecks * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.3-2
- Add feature to disable healthchecks - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Feb 17 2023 Paul Whalen <pwhalen@fedoraproject.org> - 0.15.4-1 * Tue Nov 29 2022 Packit <hello@packit.dev> - 0.15.3-1
- The 0.15.4 release - Release 0.15.3 (Paul Whalen)
- Fix update_platforms_check script - packit: add koji, bodhi jobs, upstream url (Paul Whalen)
- packit.yaml: Fix deprecated and renamed keys. (Paul Whalen)
* Mon Nov 28 2022 Paul Whalen <pwhalen@fedoraproject.org> - 0.15.3-1 - greenboot: fix exit status with unknown argument (Paul Whalen)
- The 0.15.3 release - greenboot-grub2-set-counter.service: ensure /boot is mounted (Adam Williamson)
- revert service-monitor - 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 * Thu Sep 08 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.2-1
- The 0.15.2 release - Update to 0.15.2
* Wed Aug 31 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 0.15.1-2
- disable DefaultDependencies to fix cycle error
* 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,6 +224,12 @@ fi
- 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
@ -284,4 +293,4 @@ fi
- 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

Loading…
Cancel
Save