Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kdump for openSUSE:Factory checked in at 2024-07-22 12:31:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdump (Old) and /work/SRC/openSUSE:Factory/.kdump.new.17339 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdump" Mon Jul 22 12:31:59 2024 rev:149 rq: version:2.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/kdump/kdump.changes 2024-07-18 19:15:52.437999325 +0200 +++ /work/SRC/openSUSE:Factory/.kdump.new.17339/kdump.changes 2024-07-22 12:32:01.304120742 +0200 @@ -2,7 +1,0 @@ -Wed Jul 10 13:11:23 UTC 2024 - Jiri Bohac <jbo...@suse.com> - -- upgrade to version 2.0.8 - * fadump: avoid re-registration if kernel is hotplug ready - * mkdumprd: use pbl to get default kernel version (boo#1226676) - -------------------------------------------------------------------- Old: ---- kdump-2.0.8.tar.xz New: ---- kdump-2.0.7.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdump.spec ++++++ --- /var/tmp/diff_new_pack.goG0Bl/_old 2024-07-22 12:32:02.052150777 +0200 +++ /var/tmp/diff_new_pack.goG0Bl/_new 2024-07-22 12:32:02.064151258 +0200 @@ -57,7 +57,7 @@ %define dracutlibdir %{_prefix}/lib/dracut Name: kdump -Version: 2.0.8 +Version: 2.0.7 Release: 0 Summary: Kernel crash dump scripts and utilities License: GPL-2.0-or-later ++++++ kdump-2.0.8.tar.xz -> kdump-2.0.7.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.8/70-kdump.rules.in new/kdump-2.0.7/70-kdump.rules.in --- old/kdump-2.0.8/70-kdump.rules.in 2024-07-10 15:09:34.000000000 +0200 +++ new/kdump-2.0.7/70-kdump.rules.in 2024-06-19 15:57:56.000000000 +0200 @@ -22,7 +22,6 @@ LABEL="kdump_try_restart" PROGRAM="/bin/cat /sys/kernel/kexec_crash_loaded", RESULT!="0", RUN+="/usr/lib/kdump/load-once.sh" @if @ARCH@ ppc64 ppc64le -TEST=="/sys/kernel/fadump/hotplug_ready", PROGRAM="/bin/cat /sys/kernel/fadump/hotplug_ready", RESULT=="1", GOTO="kdump_end" SUBSYSTEM=="memory", TEST=="/sys/kernel/fadump/registered", PROGRAM="/bin/cat /sys/kernel/fadump/registered", RESULT!="0", RUN+="/usr/lib/kdump/load-once.sh" @endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.8/NEWS new/kdump-2.0.7/NEWS --- old/kdump-2.0.8/NEWS 2024-07-10 15:09:34.000000000 +0200 +++ new/kdump-2.0.7/NEWS 2024-06-19 15:57:56.000000000 +0200 @@ -1,8 +1,3 @@ -2.0.8 ------ - * fadump: avoid re-registration if kernel is hotplug ready - * mkdumprd: use pbl to get default kernel version (boo#1226676) - 2.0.7 ----- * set KDUMP_CPUs to 0 (all CPUs) by default diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.8/doc/man/kdump.5.txt.in new/kdump-2.0.7/doc/man/kdump.5.txt.in --- old/kdump-2.0.8/doc/man/kdump.5.txt.in 2024-07-10 15:09:34.000000000 +0200 +++ new/kdump-2.0.7/doc/man/kdump.5.txt.in 2024-06-19 15:57:56.000000000 +0200 @@ -65,7 +65,8 @@ Kernel Version string (such as "6.3.1-2-default") or an absolute path to a kernel image that should be used for kdump. -Default is "" which means to use the default kernel reported by the *pbl*(8) tool. +Default is "" which means to use the default +/boot/{vmlinuz,image,Image,vmlinux} symlink KDUMP_CPUS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.8/init/mkdumprd new/kdump-2.0.7/init/mkdumprd --- old/kdump-2.0.8/init/mkdumprd 2024-07-10 15:09:34.000000000 +0200 +++ new/kdump-2.0.7/init/mkdumprd 2024-06-19 15:57:56.000000000 +0200 @@ -252,28 +252,25 @@ exit "$RET" fi -if [[ -z "${KDUMP_KERNELVER}" ]]; then - # no kernel specified, get the default from pbl - while IFS="=" read key value; do - [[ ${key} == "kernel" ]] && KERNEL="$value" - done <<<"$(pbl --default-settings)" -else - # KDUMP_KERNELVER may be an absolute path name or a kernel version - if [[ ${KDUMP_KERNELVER:0:1} == "/" ]]; then - # absolute path - KERNEL=${KDUMP_KERNELVER} - if ! [ -f "$KERNEL" ] ; then - echo "Kernel $KERNEL does not exist." - exit 1 - fi - else - # look for the specified version in - # /usr/lib/modules/$KDUMP_KERNELVER/ - for i in vmlinuz image Image vmlinux; do - KERNEL="/usr/lib/modules/$KDUMP_KERNELVER/${i}" - [[ -f $KERNEL ]] && break - done +# KDUMP_KERNELVER may be an absolute path name or a kernel version +if [[ ${KDUMP_KERNELVER:0:1} == "/" ]]; then + # absolute path + KERNEL=${KDUMP_KERNELVER} + if ! [ -f "$KERNEL" ] ; then + echo "Kernel $KERNEL does not exist." + exit 1 fi +else + # if a specific version is requested, look for it + # in /boot/$IMAGE-$KDUMP_KERNELVER + # otherwise use the default kernel symlink /boot/$IMAGE + # IMAGE names are different for different architectures + + [[ -n "${KDUMP_KERNELVER}" ]] && KDUMP_KERNELVER="-${KDUMP_KERNELVER}" + for i in vmlinuz image Image vmlinux; do + KERNEL="/boot/${i}${KDUMP_KERNELVER}" + [[ -f $KERNEL ]] && break + done fi if ! [ -f "$KERNEL" ] ; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.8/kdump-read-config.sh new/kdump-2.0.7/kdump-read-config.sh --- old/kdump-2.0.8/kdump-read-config.sh 2024-07-10 15:09:34.000000000 +0200 +++ new/kdump-2.0.7/kdump-read-config.sh 2024-06-19 15:57:56.000000000 +0200 @@ -138,10 +138,10 @@ if [[ -n "$KDUMP_CONF" ]]; then # source specified config file - . "$KDUMP_CONF" || return 1 + . "$KDUMP_CONF" else - # source the default config file, if it exists - [[ -f /etc/sysconfig/kdump ]] && . /etc/sysconfig/kdump + # source the default config file + . /etc/sysconfig/kdump fi kdump_read_config_main