forked from pool/rebootmgr
Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
0350aba7ac | ||
|
4abe2cbcd0 | ||
|
0c696a3680 | ||
8684a8e4e1 | |||
|
e108423881 | ||
2d98d1b0c5 | |||
|
0ef6b1a6ee | ||
|
58618ea8ab |
11
_service
11
_service
@ -1,14 +1,15 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="manual">
|
||||||
<param name="version">2.4</param>
|
<param name="version">3.0</param>
|
||||||
<param name="versionformat">2.4+git%cd.%h</param>
|
<param name="versionformat">3.0+git%cd.%h</param>
|
||||||
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
|
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="manual">
|
||||||
<param name="compression">xz</param>
|
<param name="compression">xz</param>
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="disabled"/>
|
<service name="set_version" mode="manual"/>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
|
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
|
||||||
<param name="changesrevision">30e5383142b027a3f61fd6b4e910fb192101d32e</param></service>
|
<param name="changesrevision">eed876f90679183432df8e29b2664a699ad3a29d</param></service>
|
||||||
</servicedata>
|
</servicedata>
|
BIN
rebootmgr-2.4+git20240524.30e5383.tar.xz
(Stored with Git LFS)
BIN
rebootmgr-2.4+git20240524.30e5383.tar.xz
(Stored with Git LFS)
Binary file not shown.
3
rebootmgr-3.0+git20250129.eed876f.tar.xz
Normal file
3
rebootmgr-3.0+git20250129.eed876f.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c80a87ad19e5a2943ec2f26204da34ee228546b1f91b5b00d0090f5acb6c7e65
|
||||||
|
size 43372
|
@ -1,3 +1,63 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 29 09:56:49 UTC 2025 - kukuk@suse.com
|
||||||
|
|
||||||
|
- Update to version 3.0+git20250129.eed876f:
|
||||||
|
* Release version 3.1
|
||||||
|
* rebootmgrd: fix check if new strategy is valid
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 28 15:05:30 UTC 2025 - kukuk@suse.com
|
||||||
|
|
||||||
|
- Update to version 3.0+git20250128.8fa577c:
|
||||||
|
* Import version 3.0 based on sd-varlink
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 27 13:25:24 UTC 2025 - kukuk@suse.com
|
||||||
|
|
||||||
|
- Update to version 3.0+git20250127.73667d7:
|
||||||
|
* rebootmgrctl: implement verbose dump-config verb
|
||||||
|
* Fix search path for vendor config file
|
||||||
|
* Add CI with openSUSE container
|
||||||
|
* Add new methods and use UID auth
|
||||||
|
- Add timezone to BuildRequires for test suite
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 15 11:05:37 UTC 2025 - kukuk@suse.com
|
||||||
|
|
||||||
|
- Update to version 3.0+git20250114.f74a9d5:
|
||||||
|
* Add bash-completion for rebootmgrctl
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 19 15:28:20 UTC 2024 - kukuk@suse.com
|
||||||
|
|
||||||
|
- Update to version 3.0+git20241219.7166827:
|
||||||
|
* Remove left overs from dbus related manual page
|
||||||
|
* Use int64 to parse JSON for time_t
|
||||||
|
* Set varlink info
|
||||||
|
* Move announce_ready() call to a later place
|
||||||
|
* Require libeconf 0.7.5
|
||||||
|
* Free event loop in destroy context.
|
||||||
|
* Add missing error reply
|
||||||
|
* Remove unused log_type variable
|
||||||
|
* Add internal error to varlink interface
|
||||||
|
* Move varlink definition into own file
|
||||||
|
* Update manual pages
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 11 06:03:16 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Add compatibility symlink for rebootmgrctl to sbin
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 08 09:49:55 UTC 2024 - kukuk@suse.com
|
||||||
|
|
||||||
|
- Update to version 2.6+git20241108.fc0c103:
|
||||||
|
* Fix installation of .so man pages
|
||||||
|
* Rework manpage generation
|
||||||
|
* Switch from configure.ac to meson
|
||||||
|
* Document that timezones are not supported
|
||||||
|
* Release version 2.5
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 24 11:56:30 UTC 2024 - kukuk@suse.com
|
Fri May 24 11:56:30 UTC 2024 - kukuk@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rebootmgr
|
# spec file for package rebootmgr
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,28 +16,20 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if ! %{defined _distconfdir}
|
|
||||||
%define _distconfdir %{_sysconfdir}
|
|
||||||
%define with_config 1
|
|
||||||
%else
|
|
||||||
%define with_config 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: rebootmgr
|
Name: rebootmgr
|
||||||
Version: 2.4+git20240524.30e5383
|
Version: 3.0+git20250129.eed876f
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Automatic controlled reboot during a maintenance window
|
Summary: Automatic controlled reboot during a maintenance window
|
||||||
License: GPL-2.0-only AND LGPL-2.1-or-later
|
License: GPL-2.0-only AND LGPL-2.1-or-later
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
URL: https://github.com/SUSE/rebootmgr
|
URL: https://github.com/SUSE/rebootmgr
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
BuildRequires: fdupes
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(dbus-1)
|
BuildRequires: timezone
|
||||||
BuildRequires: pkgconfig(libeconf)
|
BuildRequires: pkgconfig(libeconf) >= 0.7.6
|
||||||
|
BuildRequires: pkgconfig(libsystemd) >= 257
|
||||||
|
|
||||||
%description
|
%description
|
||||||
RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window.
|
RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window.
|
||||||
@ -45,24 +37,24 @@ RebootManager is a dbus service to execute a controlled reboot after updates in
|
|||||||
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 immediately or during 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 immediately or during a defined maintenance window.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
%meson
|
||||||
%configure
|
%meson_build
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
if [ ! -d %{buildroot}%{_distconfdir} ]; then
|
|
||||||
mkdir -p %{buildroot}%{_distconfdir}
|
%check
|
||||||
mv %{buildroot}%{_sysconfdir}/rebootmgr.conf %{buildroot}%{_distconfdir}
|
%meson_test
|
||||||
fi
|
|
||||||
%fdupes %{buildroot}%{_mandir}
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre rebootmgr.service
|
%service_add_pre rebootmgr.service
|
||||||
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf.rpmsave.old ||:
|
if [ -f /etc/rebootmgr.conf ] && [ ! -f /etc/rebootmgr/rebootmgr.conf.d/20-old-rebootmgr.conf ]; then
|
||||||
|
mkdir -p /etc/rebootmgr/rebootmgr.conf.d ||:
|
||||||
|
mv /etc/rebootmgr.conf /etc/rebootmgr/rebootmgr.conf.d/20-old-rebootmgr.conf
|
||||||
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%service_add_post rebootmgr.service
|
%service_add_post rebootmgr.service
|
||||||
@ -73,26 +65,18 @@ test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/re
|
|||||||
%postun
|
%postun
|
||||||
%service_del_postun rebootmgr.service
|
%service_del_postun rebootmgr.service
|
||||||
|
|
||||||
%posttrans
|
|
||||||
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf ||:
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING COPYING.LIB
|
%license COPYING COPYING.LIB
|
||||||
%doc NEWS
|
%doc NEWS
|
||||||
%if %{with_config}
|
%dir %{_datadir}/rebootmgr
|
||||||
%config %{_sysconfdir}/rebootmgr.conf
|
%{_datadir}/rebootmgr/rebootmgr.conf
|
||||||
%else
|
|
||||||
%{_distconfdir}/rebootmgr.conf
|
|
||||||
%endif
|
|
||||||
%{_unitdir}/rebootmgr.service
|
%{_unitdir}/rebootmgr.service
|
||||||
%{_sbindir}/rebootmgrctl
|
%{_bindir}/rebootmgrctl
|
||||||
%{_sbindir}/rebootmgrd
|
%{_libexecdir}/rebootmgrd
|
||||||
%{_datadir}/dbus-1/interfaces/org.opensuse.RebootMgr.xml
|
%{_datadir}/bash-completion/completions/rebootmgrctl
|
||||||
%{_datadir}/dbus-1/system.d/org.opensuse.RebootMgr.conf
|
|
||||||
%{_mandir}/man1/rebootmgrctl.1%{?ext_man}
|
%{_mandir}/man1/rebootmgrctl.1%{?ext_man}
|
||||||
%{_mandir}/man5/rebootmgr.conf.5%{?ext_man}
|
%{_mandir}/man5/rebootmgr.conf.5%{?ext_man}
|
||||||
%{_mandir}/man8/rebootmgrd.8%{?ext_man}
|
%{_mandir}/man8/rebootmgrd.8%{?ext_man}
|
||||||
%{_mandir}/man8/org.opensuse.RebootMgr.conf.8%{?ext_man}
|
|
||||||
%{_mandir}/man8/rebootmgr.service.8%{?ext_man}
|
%{_mandir}/man8/rebootmgr.service.8%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user