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-01-19 23:00:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdump (Old) and /work/SRC/openSUSE:Factory/.kdump.new.16006 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdump" Fri Jan 19 23:00:07 2024 rev:145 rq:1139721 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kdump/kdump.changes 2023-12-20 21:01:22.316536354 +0100 +++ /work/SRC/openSUSE:Factory/.kdump.new.16006/kdump.changes 2024-01-19 23:00:11.513631277 +0100 @@ -1,0 +2,6 @@ +Thu Jan 18 13:42:32 UTC 2024 - Jiri Bohac <jbo...@suse.com> + +- upgrade to version 2.0.1 + * load.sh: fix fadump (bsc#1218589) + +------------------------------------------------------------------- Old: ---- kdump-2.0.0.tar.xz New: ---- kdump-2.0.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdump.spec ++++++ --- /var/tmp/diff_new_pack.fWTWNo/_old 2024-01-19 23:00:12.537668709 +0100 +++ /var/tmp/diff_new_pack.fWTWNo/_new 2024-01-19 23:00:12.541668856 +0100 @@ -1,7 +1,7 @@ # # spec file for package kdump # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,7 +57,7 @@ %define dracutlibdir %{_prefix}/lib/dracut Name: kdump -Version: 2.0.0 +Version: 2.0.1 Release: 0 Summary: Kernel crash dump scripts and utilities License: GPL-2.0-or-later ++++++ kdump-2.0.0.tar.xz -> kdump-2.0.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.0/NEWS new/kdump-2.0.1/NEWS --- old/kdump-2.0.0/NEWS 2023-12-13 17:34:59.000000000 +0100 +++ new/kdump-2.0.1/NEWS 2024-01-18 14:45:37.000000000 +0100 @@ -1,3 +1,6 @@ +2.0.1 +----- + * load.sh: fix fadump (bsc#1218589) 2.0.0 ----- * add support for riscv64 (bsc#1204214) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdump-2.0.0/init/load.sh new/kdump-2.0.1/init/load.sh --- old/kdump-2.0.0/init/load.sh 2023-12-13 17:34:59.000000000 +0100 +++ new/kdump-2.0.1/init/load.sh 2024-01-18 14:45:37.000000000 +0100 @@ -160,11 +160,6 @@ local result local output - if [ ! -f "$kdump_initrd" ] ; then - echo "No kdump initial ramdisk found. Tried to locate $kdump_initrd." - return 6 - fi - local kdump_commandline=$(build_kdump_commandline "$kdump_kernel") KEXEC_CALL="$KEXEC -p $kdump_kernel --append=\"$kdump_commandline\" --initrd=$kdump_initrd $KEXEC_OPTIONS -a" @@ -303,19 +298,6 @@ rebuild_kdumprd || exit 1 fi -# check if initrd and the kernel it was built for exist -# return 6 if not, which is treated as success by -# the kdump-early service - -# FIXME: This is a fragile SELinux workaround: use /bin/test instead of [[ ]] -# because it runs with a different label which by coincidence -# is allowed to dereference the symlink -# see bsc#1213721 -#[[ -f "${kdump_initrd}" ]] || exit 6 -#[[ -f "${kdump_kernel}" ]] || exit 6 -/usr/bin/test -f "${kdump_initrd}" || exit 6 -/usr/bin/test -f "${kdump_kernel}" || exit 6 - if [ "$shrink" = yes ] ; then kdumptool calibrate --shrink > /dev/null fi @@ -324,6 +306,19 @@ load_kdump_fadump else fadump_bootloader off + + # check if initrd and the kernel it was built for exist + # return 6 if not, which is treated as success by + # the kdump-early service + # FIXME: This is a fragile SELinux workaround: use /bin/test instead of [[ ]] + # because it runs with a different label which by coincidence + # is allowed to dereference the symlink + # see bsc#1213721 + #[[ -f "${kdump_initrd}" ]] || exit 6 + #[[ -f "${kdump_kernel}" ]] || exit 6 + /usr/bin/test -f "${kdump_initrd}" || exit 6 + /usr/bin/test -f "${kdump_kernel}" || exit 6 + load_kdump_kexec fi result=$?