Accepting request 611538 from devel:CaaSP
- Update to version 1.0 * Skip health checker if emergency shell started by user * Add GRUB2 fallback handling * Adapt to new unified /var directory. * Get basic version of rollback from initrd working OBS-URL: https://build.opensuse.org/request/show/611538 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/health-checker?expand=0&rev=4
This commit is contained in:
parent
c3216238a8
commit
77e04b38c2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7f567ad810143d2e66a7c618d9a2a924f6989fe25d952d7190eedd1cffeb9157
|
||||
size 71087
|
3
health-checker-1.0.tar.xz
Normal file
3
health-checker-1.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:085fd3361984c1b7ed282f3b3bc972487fd5adaa19e9adc5426721151d8663ef
|
||||
size 66912
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 23 13:05:39 CEST 2018 - kukuk@suse.de
|
||||
|
||||
- Update to version 1.0
|
||||
* Skip health checker if emergency shell started by user
|
||||
* Add GRUB2 fallback handling
|
||||
* Adapt to new unified /var directory.
|
||||
* Get basic version of rollback from initrd working
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 23 10:47:58 CEST 2017 - kukuk@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package health-checker
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,17 +17,17 @@
|
||||
|
||||
|
||||
Name: health-checker
|
||||
Version: 0.5
|
||||
Version: 1.0
|
||||
Release: 0
|
||||
Summary: Verify that all important services are running
|
||||
License: GPL-2.0
|
||||
License: GPL-2.0-only
|
||||
Group: System/Base
|
||||
Url: https://github.com/kubic-project/health-checker
|
||||
Source: health-checker-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
URL: https://github.com/kubic-project/health-checker
|
||||
Source: health-checker-%{version}.tar.xz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: suse-module-tools
|
||||
Requires: health-checker-plugins = 1.0
|
||||
BuildArch: noarch
|
||||
%{?systemd_requires}
|
||||
|
||||
%description
|
||||
@ -67,10 +67,8 @@ It will report success or failures depending on previous states.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||
%make_install
|
||||
ln -sf service %{buildroot}%{_sbindir}/rchealth-checker
|
||||
# dracut module does not work yet
|
||||
rm -rf %{buildroot}/usr/lib/dracut
|
||||
%fdupes %{buildroot}%{_mandir}
|
||||
|
||||
%pre
|
||||
@ -78,32 +76,40 @@ rm -rf %{buildroot}/usr/lib/dracut
|
||||
|
||||
%post
|
||||
%service_add_post health-checker.service
|
||||
%regenerate_initrd_post
|
||||
|
||||
%preun
|
||||
%service_del_preun health-checker.service
|
||||
|
||||
%postun
|
||||
%service_del_postun health-checker.service
|
||||
%regenerate_initrd_post
|
||||
|
||||
%posttrans
|
||||
%regenerate_initrd_posttrans
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING README.md
|
||||
%{_prefix}/lib/systemd/system/health-checker.service
|
||||
%dir %{_prefix}/lib/health-checker/
|
||||
%{_prefix}/lib/health-checker/btrfs-subvolumes-mounted.sh
|
||||
%license COPYING
|
||||
%doc NEWS README.md
|
||||
%{_libexecdir}/systemd/system/health-checker.service
|
||||
%dir %{_libexecdir}/health-checker/
|
||||
%{_libexecdir}/health-checker/btrfs-subvolumes-mounted.sh
|
||||
%{_sbindir}/health-checker
|
||||
%{_sbindir}/rchealth-checker
|
||||
%{_mandir}/man8/health-checker.8%{ext_man}
|
||||
%{_mandir}/man8/health-checker.service.8%{ext_man}
|
||||
%{_mandir}/man8/health-checker.8%{?ext_man}
|
||||
%{_mandir}/man8/health-checker.service.8%{?ext_man}
|
||||
%dir %{_sysconfdir}/grub.d
|
||||
%{_sysconfdir}/grub.d/*_health_check*
|
||||
%dir %{_libexecdir}/dracut
|
||||
%dir %{_libexecdir}/dracut/modules.d
|
||||
%{_libexecdir}/dracut/modules.d/50health-checker
|
||||
|
||||
%files plugins-caasp
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/health-checker/etcd.sh
|
||||
%{_prefix}/lib/health-checker/etc-overlayfs.sh
|
||||
%{_prefix}/lib/health-checker/rebootmgr.sh
|
||||
%{_libexecdir}/health-checker/etcd.sh
|
||||
%{_libexecdir}/health-checker/etc-overlayfs.sh
|
||||
%{_libexecdir}/health-checker/rebootmgr.sh
|
||||
|
||||
%files testing
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/health-checker/health-check-tester.sh
|
||||
%{_libexecdir}/health-checker/health-check-tester.sh
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user