SHA256
1
0
forked from pool/kdump

- upgrade to version 1.9

* complete rewrite of kdump-save and parts of initrd generation
    * mounts are now entirely handled by dracut
    * deprecated: split dumps (saving to more than one targets at once)
    * deprecated: KDUMPTOOL_FLAGS option removed; original XENALLDOMAINS is now
      the default, disable with MAKEDUMPFILE_OPTIONS=-X
    * deprecated: notification e-mails
    * deprecated: copying of the kernel image (KDUMP_COPY_KERNEL)
    * FTP and SFTP are now handled by lftp, added to the spec file as Recommends:
    * SSH and SFTP now support passwords provided in the URL
    * fixed KDUMP_SSH_HOST_KEY, now needs to include the key type    
    * new KDUMP_DUMPFORMAT=raw, will save an unmodified /proc/vmcore
    * the output directory name is now YYYY-MM-DD-HH-MM, i.e. the separator between
      HH and MM changed 
    * unified default KDUMP_SAVEDIR across config, code and man to /var/crash
    * ping is now used to detect network is up; disable with KDUMP_NET_TIMEOUT=0    
    * all the yes/no options changed to true/false; yes/no/1/0 still accepted
  * put the kdump initrd in /var/lib/kdump/initrd
  * use default kernel symlink (/boot/vmlinuz) instead of kernel autodetection
  * KDUMP_KERNELVER can specify an absolute path to a kernel image
  * improved mkdumprd detection of changed settings
  * removed all of kdumptool except the calibrate subcommand
  * cleaned up dependencies (ssh now only Recommended)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=254
This commit is contained in:
Jiri Bohac 2023-06-08 16:48:55 +00:00 committed by Git OBS Bridge
parent 12fae6284b
commit b42f16b20a
4 changed files with 35 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf1559ab78350dfe8b51f978dad54346a2b8c18b360abc3465f37d0051a72692
size 2563852

3
kdump-1.9.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b21267a4c0f19a795c34661b2506c357ea6cdc1cc728d64caf9c9d84d2fa60c4
size 72888

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Thu Jun 8 16:43:28 UTC 2023 - Jiri Bohac <jbohac@suse.com>
- upgrade to version 1.9
* complete rewrite of kdump-save and parts of initrd generation
* mounts are now entirely handled by dracut
* deprecated: split dumps (saving to more than one targets at once)
* deprecated: KDUMPTOOL_FLAGS option removed; original XENALLDOMAINS is now
the default, disable with MAKEDUMPFILE_OPTIONS=-X
* deprecated: notification e-mails
* deprecated: copying of the kernel image (KDUMP_COPY_KERNEL)
* FTP and SFTP are now handled by lftp, added to the spec file as Recommends:
* SSH and SFTP now support passwords provided in the URL
* fixed KDUMP_SSH_HOST_KEY, now needs to include the key type
* new KDUMP_DUMPFORMAT=raw, will save an unmodified /proc/vmcore
* the output directory name is now YYYY-MM-DD-HH-MM, i.e. the separator between
HH and MM changed
* unified default KDUMP_SAVEDIR across config, code and man to /var/crash
* ping is now used to detect network is up; disable with KDUMP_NET_TIMEOUT=0
* all the yes/no options changed to true/false; yes/no/1/0 still accepted
* put the kdump initrd in /var/lib/kdump/initrd
* use default kernel symlink (/boot/vmlinuz) instead of kernel autodetection
* KDUMP_KERNELVER can specify an absolute path to a kernel image
* improved mkdumprd detection of changed settings
* removed all of kdumptool except the calibrate subcommand
* cleaned up dependencies (ssh now only Recommended)
-------------------------------------------------------------------
Wed May 31 08:10:21 UTC 2023 - Jiri Bohac <jbohac@suse.com>

View File

@ -53,7 +53,7 @@
%define dracutlibdir %{_prefix}/lib/dracut
Name: kdump
Version: 1.0.3
Version: 1.9
Release: 0
Summary: Kernel crash dump scripts and utilities
License: GPL-2.0-or-later
@ -66,15 +66,9 @@ BuildRequires: asciidoc
BuildRequires: cmake >= 3.7
BuildRequires: gcc-c++
BuildRequires: libblkid-devel
BuildRequires: libcurl-devel
BuildRequires: libelf-devel
BuildRequires: libesmtp-devel
BuildRequires: libmount-devel
BuildRequires: libxslt
BuildRequires: pkgconfig
BuildRequires: systemd-sysvinit
BuildRequires: util-linux-systemd
BuildRequires: zlib-devel
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev)
#!BuildIgnore: fop
@ -95,11 +89,9 @@ BuildRequires: systemd-sysvinit
BuildRequires: util-linux-systemd
%endif
Requires: /usr/bin/sed
Requires: curl
Requires: dracut >= 047
Requires: kexec-tools
Requires: makedumpfile
Requires: openssh
%ifarch ppc64 ppc64le
Requires: servicelog
BuildRequires: servicelog
@ -111,7 +103,9 @@ PreReq: /usr/bin/mkdir
PreReq: /usr/bin/rm
PreReq: /usr/bin/touch
Recommends: cifs-utils
Recommends: lftp
Recommends: nfs-client
Recommends: openssh
# update should detect the split-off from kexec-tools
Provides: kexec-tools:%{_initddir}/kdump
ExcludeArch: s390 ppc %arm32
@ -162,6 +156,7 @@ make VERBOSE=1
%cmake_install
# empty directory
mkdir -p %{buildroot}%{_localstatedir}/crash
mkdir -p %{buildroot}%{_localstatedir}/lib/kdump
%if !%{with calibrate}
# get distro_prefix-prefixed lines from calibrate.conf.all
@ -178,7 +173,6 @@ cat %{buildroot}/usr/lib/kdump/calibrate.conf
%endif
# symlink for init script
rm %{buildroot}%{_initddir}/boot.kdump
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rckdump
%pre
@ -236,7 +230,6 @@ rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true
%{_sbindir}/mkdumprd
%{_mandir}/man5/kdump.5%{?ext_man}
%{_mandir}/man7/kdump.7%{?ext_man}
%{_mandir}/man8/kdumptool.8%{?ext_man}
%{_mandir}/man8/mkdumprd.8%{?ext_man}
%{_fillupdir}/sysconfig.kdump
%dir %{dracutlibdir}
@ -247,5 +240,6 @@ rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true
%{_unitdir}/kdump.service
%{_unitdir}/kdump-early.service
%{_sbindir}/rckdump
%dir /var/lib/kdump
%changelog