commit kdump for openSUSE:Factory
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-26 16:14:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdump (Old) and /work/SRC/openSUSE:Factory/.kdump.new.1882 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kdump" Fri Jul 26 16:14:02 2024 rev:150 rq:1189428 version:2.0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/kdump/kdump.changes 2024-07-22 12:32:01.304120742 +0200 +++ /work/SRC/openSUSE:Factory/.kdump.new.1882/kdump.changes 2024-07-26 16:15:00.932534190 +0200 @@ -1,0 +2,8 @@ +Wed Jul 24 12:29:38 UTC 2024 - Jiri Bohac <jbohac@suse.com> + +- upgrade to version 2.0.9 + * start kdump-early earlier using DefaultDependencies=no + * fadump: avoid re-registration if kernel is hotplug ready + * mkdumprd: use pbl to get default kernel version (boo#1226676) + +------------------------------------------------------------------- Old: ---- kdump-2.0.7.tar.xz New: ---- kdump-2.0.9.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdump.spec ++++++ --- /var/tmp/diff_new_pack.9x9pyg/_old 2024-07-26 16:15:01.464555622 +0200 +++ /var/tmp/diff_new_pack.9x9pyg/_new 2024-07-26 16:15:01.468555782 +0200 @@ -57,7 +57,7 @@ %define dracutlibdir %{_prefix}/lib/dracut Name: kdump -Version: 2.0.7 +Version: 2.0.9 Release: 0 Summary: Kernel crash dump scripts and utilities License: GPL-2.0-or-later ++++++ kdump-2.0.7.tar.xz -> kdump-2.0.9.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.7/70-kdump.rules.in new/kdump-2.0.9/70-kdump.rules.in --- old/kdump-2.0.7/70-kdump.rules.in 2024-06-19 15:57:56.000000000 +0200 +++ new/kdump-2.0.9/70-kdump.rules.in 2024-07-16 17:29:51.000000000 +0200 @@ -22,6 +22,7 @@ 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.7/NEWS new/kdump-2.0.9/NEWS --- old/kdump-2.0.7/NEWS 2024-06-19 15:57:56.000000000 +0200 +++ new/kdump-2.0.9/NEWS 2024-07-16 17:29:51.000000000 +0200 @@ -1,3 +1,12 @@ +2.0.9 +----- + * start kdump-early earlier using DefaultDependencies=no + +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.7/doc/man/kdump.5.txt.in new/kdump-2.0.9/doc/man/kdump.5.txt.in --- old/kdump-2.0.7/doc/man/kdump.5.txt.in 2024-06-19 15:57:56.000000000 +0200 +++ new/kdump-2.0.9/doc/man/kdump.5.txt.in 2024-07-16 17:29:51.000000000 +0200 @@ -65,8 +65,7 @@ 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 -/boot/{vmlinuz,image,Image,vmlinux} symlink +Default is "" which means to use the default kernel reported by the *pbl*(8) tool. KDUMP_CPUS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.7/init/kdump-early.service new/kdump-2.0.9/init/kdump-early.service --- old/kdump-2.0.7/init/kdump-early.service 2024-06-19 15:57:56.000000000 +0200 +++ new/kdump-2.0.9/init/kdump-early.service 2024-07-16 17:29:51.000000000 +0200 @@ -1,6 +1,7 @@ [Unit] Description=Load kdump kernel early on startup After=local-fs.target +DefaultDependencies=no [Service] Type=oneshot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.7/init/mkdumprd new/kdump-2.0.9/init/mkdumprd --- old/kdump-2.0.7/init/mkdumprd 2024-06-19 15:57:56.000000000 +0200 +++ new/kdump-2.0.9/init/mkdumprd 2024-07-16 17:29:51.000000000 +0200 @@ -252,25 +252,28 @@ exit "$RET" fi -# 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 +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 - # 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 + # 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 + fi fi if ! [ -f "$KERNEL" ] ; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.7/kdump-read-config.sh new/kdump-2.0.9/kdump-read-config.sh --- old/kdump-2.0.7/kdump-read-config.sh 2024-06-19 15:57:56.000000000 +0200 +++ new/kdump-2.0.9/kdump-read-config.sh 2024-07-16 17:29:51.000000000 +0200 @@ -138,10 +138,10 @@ if [[ -n "$KDUMP_CONF" ]]; then # source specified config file - . "$KDUMP_CONF" + . "$KDUMP_CONF" || return 1 else - # source the default config file - . /etc/sysconfig/kdump + # source the default config file, if it exists + [[ -f /etc/sysconfig/kdump ]] && . /etc/sysconfig/kdump fi kdump_read_config_main
participants (1)
-
Source-Sync