Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2019-05-03 22:35:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and      /work/SRC/openSUSE:Factory/.kdump.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdump"

Fri May  3 22:35:06 2019 rev:105 rq:698075 version:0.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdump/kdump.changes      2019-04-18 
13:55:51.611944272 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.5148/kdump.changes    2019-05-03 
22:35:07.853020914 +0200
@@ -1,0 +2,6 @@
+Fri Apr 26 07:36:54 UTC 2019 - Petr Tesarik <ptesa...@suse.com>
+
+- kdump-kdumprd-Look-for-boot-image-and-boot-Image.patch: kdumprd:
+  Look for /boot/image-* and /boot/Image-* (bsc#1132799).
+
+-------------------------------------------------------------------

New:
----
  kdump-kdumprd-Look-for-boot-image-and-boot-Image.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.mR7TI2/_old  2019-05-03 22:35:09.981031261 +0200
+++ /var/tmp/diff_new_pack.mR7TI2/_new  2019-05-03 22:35:09.985031304 +0200
@@ -61,6 +61,7 @@
 Patch13:        %{name}-recover-from-missing-CRASHTIME.patch
 Patch14:        %{name}-fix-multipath-user_friendly_names.patch
 Patch15:        %{name}-Add-skip_balance-option-to-BTRFS-mounts.patch
+Patch16:        %{name}-kdumprd-Look-for-boot-image-and-boot-Image.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -133,6 +134,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %build
 export CFLAGS="%{optflags}"

++++++ kdump-kdumprd-Look-for-boot-image-and-boot-Image.patch ++++++
>From d332bb87cd1d093f8b78ff3d79413d84fa26dea3 Mon Sep 17 00:00:00 2001
From: Petr Tesarik <ptesa...@suse.com>
Date: Fri, 26 Apr 2019 09:27:40 +0200
Subject: kdumprd: Look for /boot/image-* and /boot/Image-*
References: bsc#1132799
Upstream: merged
Git-commit: d332bb87cd1d093f8b78ff3d79413d84fa26dea3

These kernel image names are used on s390(x) and arm*/aarch64,
respectively. Without this change, the path to the kernel must be
given explicitly on the command line if a specific kernel version is
required.

Signed-off-by: Petr Tesarik <ptesa...@suse.com>
---
 init/mkdumprd |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/init/mkdumprd
+++ b/init/mkdumprd
@@ -125,9 +125,9 @@ shift $(($OPTIND -1))
 if [ -z "$KERNEL" ] ; then
     if [ -n "$KERNELVERSION" ] ; then
         KERNEL=/boot/vmlinuz-$KERNELVERSION
-        if ! [ -f "$KERNEL" ] ; then
-            KERNEL=/boot/vmlinux-$KERNELVERSION
-        fi
+        test -f "$KERNEL" || KERNEL=/boot/image-$KERNELVERSION
+        test -f "$KERNEL" || KERNEL=/boot/Image-$KERNELVERSION
+        test -f "$KERNEL" || KERNEL=/boot/vmlinux-$KERNELVERSION
     else
         output=$(kdumptool find_kernel $find_kernel_args)
         KERNEL=$(echo "$output" | grep ^Kernel | cut -f 2)

Reply via email to