forked from pool/kdump
- upgrade to version 1.9.1
* reimplement e-mail notifications OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=256
This commit is contained in:
parent
b42f16b20a
commit
fbacbc9561
3
kdump-1.9.1.tar.xz
Normal file
3
kdump-1.9.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c492e7237792d1ad626bc6492f03c613531c728c4dc4841ff5b3a2a5ccc1a9b
|
||||
size 73560
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b21267a4c0f19a795c34661b2506c357ea6cdc1cc728d64caf9c9d84d2fa60c4
|
||||
size 72888
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 14 11:13:51 UTC 2023 - Jiri Bohac <jbohac@suse.com>
|
||||
|
||||
- upgrade to version 1.9.1
|
||||
* reimplement e-mail notifications
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 8 16:43:28 UTC 2023 - Jiri Bohac <jbohac@suse.com>
|
||||
|
||||
|
10
kdump.spec
10
kdump.spec
@ -53,7 +53,7 @@
|
||||
%define dracutlibdir %{_prefix}/lib/dracut
|
||||
|
||||
Name: kdump
|
||||
Version: 1.9
|
||||
Version: 1.9.1
|
||||
Release: 0
|
||||
Summary: Kernel crash dump scripts and utilities
|
||||
License: GPL-2.0-or-later
|
||||
@ -106,6 +106,7 @@ Recommends: cifs-utils
|
||||
Recommends: lftp
|
||||
Recommends: nfs-client
|
||||
Recommends: openssh
|
||||
Suggests: mailx
|
||||
# update should detect the split-off from kexec-tools
|
||||
Provides: kexec-tools:%{_initddir}/kdump
|
||||
ExcludeArch: s390 ppc %arm32
|
||||
@ -178,6 +179,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rckdump
|
||||
%pre
|
||||
%service_add_pre kdump.service
|
||||
%service_add_pre kdump-early.service
|
||||
%service_add_pre kdump-notify.service
|
||||
|
||||
%post
|
||||
# change only permission if the file exists before /etc/sysconfig/kdump
|
||||
@ -189,7 +191,8 @@ fi
|
||||
%{fillup_only -n kdump}
|
||||
%service_add_post kdump.service
|
||||
%service_add_post kdump-early.service
|
||||
# ensure newly added kdump-early.service is-enabled matches prior state
|
||||
%service_add_post kdump-notify.service
|
||||
# ensure newly added kdump-*.service is-enabled matches prior state
|
||||
if [ -x %{_bindir}/systemctl ] && %{_bindir}/systemctl is-enabled kdump.service &>/dev/null ; then
|
||||
%{_bindir}/systemctl reenable kdump.service || :
|
||||
fi
|
||||
@ -213,6 +216,7 @@ servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh
|
||||
echo "Stopping kdump ..."
|
||||
%service_del_preun kdump.service
|
||||
%service_del_preun kdump-early.service
|
||||
%service_del_preun kdump-notify.service
|
||||
|
||||
%postun
|
||||
# force regeneration of kdumprd
|
||||
@ -221,6 +225,7 @@ touch %{_sysconfdir}/sysconfig/kdump
|
||||
rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true
|
||||
%service_del_postun kdump.service
|
||||
%service_del_postun kdump-early.service
|
||||
%service_del_postun kdump-notify.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
@ -239,6 +244,7 @@ rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true
|
||||
/usr/lib/kdump/*
|
||||
%{_unitdir}/kdump.service
|
||||
%{_unitdir}/kdump-early.service
|
||||
%{_unitdir}/kdump-notify.service
|
||||
%{_sbindir}/rckdump
|
||||
%dir /var/lib/kdump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user