Update to v0.9
This commit is contained in:
parent
b26fc11f4a
commit
c130f13d5e
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/v0.6.tar.gz
|
/v0.6.tar.gz
|
||||||
/v0.7.tar.gz
|
/v0.7.tar.gz
|
||||||
/v0.8.tar.gz
|
/v0.8.tar.gz
|
||||||
|
/v0.9.tar.gz
|
||||||
|
21
greenboot.spec
Executable file → Normal file
21
greenboot.spec
Executable file → Normal file
@ -1,10 +1,10 @@
|
|||||||
Name: greenboot
|
Name: greenboot
|
||||||
Version: 0.8
|
Version: 0.9
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Generic Health Check Framework for systemd
|
Summary: Generic Health Check Framework for systemd
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
|
|
||||||
%global repo_owner LorbusChris
|
%global repo_owner fedora-iot
|
||||||
%global repo_name %{name}
|
%global repo_name %{name}
|
||||||
%global repo_tag v%{version}
|
%global repo_tag v%{version}
|
||||||
|
|
||||||
@ -67,16 +67,15 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_exec_prefix}/lib/motd.d/
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/check/required.d
|
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/check/required.d
|
||||||
mkdir %{buildroot}%{_sysconfdir}/%{name}/check/wanted.d
|
mkdir %{buildroot}%{_sysconfdir}/%{name}/check/wanted.d
|
||||||
mkdir %{buildroot}%{_sysconfdir}/%{name}/green.d
|
mkdir %{buildroot}%{_sysconfdir}/%{name}/green.d
|
||||||
mkdir %{buildroot}%{_sysconfdir}/%{name}/red.d
|
mkdir %{buildroot}%{_sysconfdir}/%{name}/red.d
|
||||||
mkdir -p %{buildroot}%{_unitdir}
|
mkdir -p %{buildroot}%{_unitdir}
|
||||||
install -DpZm 0755 usr/libexec/greenboot/greenboot %{buildroot}%{_libexecdir}/%{name}/%{name}
|
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||||
install -DpZm 0755 usr/libexec/greenboot/greenboot-grub2-set-counter %{buildroot}%{_libexecdir}/%{name}/greenboot-grub2-set-counter
|
install -DpZm 0755 usr/libexec/greenboot/* %{buildroot}%{_libexecdir}/%{name}
|
||||||
install -DpZm 0755 usr/libexec/greenboot/greenboot-rpm-ostree-grub2-check-fallback %{buildroot}%{_libexecdir}/%{name}/greenboot-rpm-ostree-grub2-check-fallback
|
|
||||||
install -DpZm 0755 usr/libexec/greenboot/greenboot-status %{buildroot}%{_libexecdir}/%{name}/greenboot-status
|
|
||||||
install -DpZm 0755 usr/libexec/greenboot/redboot-auto-reboot-check %{buildroot}%{_libexecdir}/%{name}/redboot-auto-reboot-check
|
|
||||||
install -DpZm 0644 usr/lib/motd.d/boot-status %{buildroot}%{_exec_prefix}/lib/motd.d/boot-status
|
install -DpZm 0644 usr/lib/motd.d/boot-status %{buildroot}%{_exec_prefix}/lib/motd.d/boot-status
|
||||||
install -DpZm 0644 usr/lib/systemd/system/* %{buildroot}%{_unitdir}
|
install -DpZm 0644 usr/lib/systemd/system/* %{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
|
||||||
@ -86,6 +85,7 @@ install -DpZm 0755 etc/greenboot/check/wanted.d/* %{buildroot}%{_sysconfdir}/%{n
|
|||||||
%post
|
%post
|
||||||
%systemd_post greenboot-healthcheck.service
|
%systemd_post greenboot-healthcheck.service
|
||||||
%systemd_post greenboot.service
|
%systemd_post greenboot.service
|
||||||
|
%systemd_post greenboot.target
|
||||||
%systemd_post redboot.service
|
%systemd_post redboot.service
|
||||||
%systemd_post redboot.target
|
%systemd_post redboot.target
|
||||||
|
|
||||||
@ -121,6 +121,7 @@ install -DpZm 0755 etc/greenboot/check/wanted.d/* %{buildroot}%{_sysconfdir}/%{n
|
|||||||
%postun
|
%postun
|
||||||
%systemd_postun greenboot-healthcheck.service
|
%systemd_postun greenboot-healthcheck.service
|
||||||
%systemd_postun greenboot.service
|
%systemd_postun greenboot.service
|
||||||
|
%systemd_postun greenboot.target
|
||||||
%systemd_postun redboot.service
|
%systemd_postun redboot.service
|
||||||
%systemd_postun redboot.target
|
%systemd_postun redboot.target
|
||||||
|
|
||||||
@ -141,6 +142,7 @@ install -DpZm 0755 etc/greenboot/check/wanted.d/* %{buildroot}%{_sysconfdir}/%{n
|
|||||||
%{_libexecdir}/%{name}/%{name}
|
%{_libexecdir}/%{name}/%{name}
|
||||||
%{_unitdir}/greenboot-healthcheck.service
|
%{_unitdir}/greenboot-healthcheck.service
|
||||||
%{_unitdir}/greenboot.service
|
%{_unitdir}/greenboot.service
|
||||||
|
%{_unitdir}/greenboot.target
|
||||||
%{_unitdir}/redboot.service
|
%{_unitdir}/redboot.service
|
||||||
%{_unitdir}/redboot.target
|
%{_unitdir}/redboot.target
|
||||||
%dir %{_sysconfdir}/%{name}
|
%dir %{_sysconfdir}/%{name}
|
||||||
@ -168,10 +170,13 @@ install -DpZm 0755 etc/greenboot/check/wanted.d/* %{buildroot}%{_sysconfdir}/%{n
|
|||||||
%{_unitdir}/greenboot-grub2-set-counter.service
|
%{_unitdir}/greenboot-grub2-set-counter.service
|
||||||
|
|
||||||
%files reboot
|
%files reboot
|
||||||
%{_libexecdir}/%{name}/redboot-auto-reboot-check
|
%{_libexecdir}/%{name}/redboot-auto-reboot
|
||||||
%{_unitdir}/redboot-auto-reboot.service
|
%{_unitdir}/redboot-auto-reboot.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 03 2020 Christian Glombek <lorbus@fedoraproject.org> - 0.9-1
|
||||||
|
- Update to v0.9
|
||||||
|
|
||||||
* Wed Feb 05 2020 Christian Glombek <lorbus@fedoraproject.org> - 0.8-1
|
* Wed Feb 05 2020 Christian Glombek <lorbus@fedoraproject.org> - 0.8-1
|
||||||
- Update to v0.8
|
- Update to v0.8
|
||||||
- Add guard against bootlooping in redboot-auto-reboot.service
|
- Add guard against bootlooping in redboot-auto-reboot.service
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (v0.8.tar.gz) = a3ff67ab22e574d1dd6404e602167961b3815e8b82d6cea4236e3f3df84e74bf15fd81c81ed4798ad6937d0dd4976b7447a5a499015d312e090c7ea4ab7b740d
|
SHA512 (v0.9.tar.gz) = b382834faa94614a47deb41f5757c03f7912dde64714d2f8bde8ca167169c19bddd4a86ce8818c832b9da5ee4fc14f000fcc5633314dd1e10df7b1e6a9418ed0
|
||||||
|
Loading…
Reference in New Issue
Block a user