Hello community, here is the log from the commit of package kexec-tools for openSUSE:Leap:15.2 checked in at 2020-04-08 12:48:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/kexec-tools (Old) and /work/SRC/openSUSE:Leap:15.2/.kexec-tools.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kexec-tools" Wed Apr 8 12:48:22 2020 rev:44 rq:791395 version:2.0.20 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/kexec-tools/kexec-tools.changes 2020-03-17 04:15:24.564968506 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.kexec-tools.new.3248/kexec-tools.changes 2020-04-08 12:49:04.302363759 +0200 @@ -1,0 +2,6 @@ +Fri Apr 3 11:24:02 UTC 2020 - Petr Tesařík <[email protected]> + +- kexec-tools-s390-Reset-kernel-command-line-on-syscal.patch: s390: + Reset kernel command line on syscall fallback (bsc#1167868). + +------------------------------------------------------------------- New: ---- kexec-tools-s390-Reset-kernel-command-line-on-syscal.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kexec-tools.spec ++++++ --- /var/tmp/diff_new_pack.udKM7i/_old 2020-04-08 12:49:05.378364320 +0200 +++ /var/tmp/diff_new_pack.udKM7i/_new 2020-04-08 12:49:05.378364320 +0200 @@ -38,6 +38,7 @@ Patch10: %{name}-SYS_getrandom.patch Patch11: %{name}-fix-kexec_file_load-error-handling.patch Patch12: %{name}-reset-getopt-before-falling-back-to-legacy.patch +Patch13: %{name}-s390-Reset-kernel-command-line-on-syscal.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: systemd-rpm-macros @@ -72,6 +73,7 @@ %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 %build autoreconf -fvi ++++++ kexec-tools-s390-Reset-kernel-command-line-on-syscal.patch ++++++ From: Petr Tesarik <[email protected]> Date: Fri, 3 Apr 2020 13:12:00 +0200 Subject: kexec-tools: s390: Reset kernel command line on syscall fallback References: bsc#1167868 Upstream: submitted 2020-04-03 The command line is duplicated on s390 if kexec_file_load(2) is not implemented. That's because the corresponding variable is not reset to an empty string before re-parsing the kexec command line. Fixes: 9cf721279f6c ("Reset getopt before falling back to legacy syscall") Signed-off-by: Petr Tesarik <[email protected]> --- kexec/arch/s390/kexec-image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kexec/arch/s390/kexec-image.c b/kexec/arch/s390/kexec-image.c index 8b39566..3c24fdf 100644 --- a/kexec/arch/s390/kexec-image.c +++ b/kexec/arch/s390/kexec-image.c @@ -112,6 +112,7 @@ image_s390_load(int argc, char **argv, const char *kernel_buf, }; static const char short_options[] = KEXEC_OPT_STR ""; + command_line[0] = 0; ramdisk = NULL; ramdisk_len = 0; ramdisk_origin = 0; -- 2.16.4
