forked from pool/rebootmgr
Accepting request 458507 from devel:CaaSP
Submit new package rebootmgr OBS-URL: https://build.opensuse.org/request/show/458507 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rebootmgr?expand=0&rev=1
This commit is contained in:
commit
8eac3ac647
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
rebootmgr-0.10.tar.bz2
Normal file
3
rebootmgr-0.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a38e9631abbe71ee7ac03bf552dfb82ec4a43e8f9827f048892250947da24630
|
||||||
|
size 269394
|
62
rebootmgr.changes
Normal file
62
rebootmgr.changes
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 16 15:01:51 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.10
|
||||||
|
- Fix typos in documentation
|
||||||
|
- Fix compilation on 32bit systems
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 14 11:36:41 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.9
|
||||||
|
- Finish rebootmgrctl manual page
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 8 16:48:30 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.8
|
||||||
|
- Implement changing number of hosts holding a lock at the same time
|
||||||
|
- Add new and enhance existing manual pages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 12 21:19:48 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.7
|
||||||
|
- Fix dbus name in systemd service file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 12 11:34:33 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.6
|
||||||
|
- Add etcd lock support
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 9 16:33:00 CET 2017 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.5
|
||||||
|
- Rewrite for better dbus support
|
||||||
|
- Merges typo.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 13 10:08:30 CET 2016 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Fix typo in executing systemctl
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 23 15:16:38 CET 2016 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to versin 0.3
|
||||||
|
- fix path for systemctl
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 23 10:50:31 CET 2016 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.2
|
||||||
|
- implement maintenance window
|
||||||
|
- implement rebootmgrctl get-strategy
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 20 21:37:09 CET 2016 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Initial submission
|
||||||
|
|
82
rebootmgr.spec
Normal file
82
rebootmgr.spec
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
#
|
||||||
|
# spec file for package rebootmgr
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: rebootmgr
|
||||||
|
Version: 0.10
|
||||||
|
Release: 0
|
||||||
|
Summary: Automatic controlled reboot during a maintenance window
|
||||||
|
License: GPL-2.0 and LGPL-2.1+
|
||||||
|
Group: System/Base
|
||||||
|
Url: https://github.com/SUSE/rebootmgr
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
BuildRequires: cetcd-devel
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(dbus-glib-1)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.40
|
||||||
|
BuildRequires: pkgconfig(json-c)
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%{?systemd_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window.
|
||||||
|
|
||||||
|
If you updated a system with e.g. transactional updates or a kernel update was applied, you can tell rebootmgrd with rebootmgrctl, that the machine should be reboot at the next possible time. This can either be immeaditly, during a defined maintenance window or, to avoid that a lot of machines boot at the same time, controlled with locks and etcd.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
||||||
|
ln -sf service %{buildroot}%{_sbindir}/rcrebootmgr
|
||||||
|
%fdupes %{buildroot}%{_mandir}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre rebootmgr.service
|
||||||
|
|
||||||
|
%post
|
||||||
|
%service_add_post rebootmgr.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun rebootmgr.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun rebootmgr.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc NEWS COPYING COPYING.LIB
|
||||||
|
%dir %{_sysconfdir}/dbus-1/system.d
|
||||||
|
%config %{_sysconfdir}/rebootmgr.conf
|
||||||
|
%config %{_sysconfdir}/dbus-1/system.d/org.opensuse.RebootMgr.conf
|
||||||
|
%{_prefix}/lib/systemd/system/rebootmgr.service
|
||||||
|
%{_sbindir}/rebootmgrctl
|
||||||
|
%{_sbindir}/rebootmgrd
|
||||||
|
%{_sbindir}/rcrebootmgr
|
||||||
|
%{_datadir}/dbus-1/interfaces/org.opensuse.RebootMgr.xml
|
||||||
|
%{_mandir}/man1/rebootmgrctl.1%{ext_man}
|
||||||
|
%{_mandir}/man5/rebootmgr.conf.5%{ext_man}
|
||||||
|
%{_mandir}/man8/rebootmgrd.8%{ext_man}
|
||||||
|
%{_mandir}/man8/org.opensuse.RebootMgr.conf.8%{ext_man}
|
||||||
|
%{_mandir}/man8/rebootmgr.service.8%{ext_man}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user