Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kdump for openSUSE:Factory checked in at 2022-01-05 13:39:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdump (Old) and /work/SRC/openSUSE:Factory/.kdump.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdump" Wed Jan 5 13:39:25 2022 rev:119 rq:943611 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kdump/kdump.changes 2021-11-28 21:30:18.330038444 +0100 +++ /work/SRC/openSUSE:Factory/.kdump.new.1896/kdump.changes 2022-01-05 13:39:45.521525867 +0100 @@ -1,0 +2,44 @@ +Mon Jan 3 11:56:47 UTC 2022 - Libor Pech????ek <lpecha...@suse.com> + +- kdump-0.9.2-mkdumprd-properly-pass-compression-params.patch: Fix + malformation in passing Dracut compression parameters in mkdumprd + (bsc#1193765). +- Refresh existing patches. + +------------------------------------------------------------------- +Thu Dec 9 08:23:35 UTC 2021 - Petr Tesa????k <ptesa...@suse.com> + +- Sync with SLE15-SP4 changelog. These patches were never applied + to Factory: + * kdump-avoid-endless-loop-EAI_AGAIN.patch + * kdump-calibrate-Add-LUKS2-Argon2-requirements-to-the-reser.patch + * kdump-calibrate-Fix-kernel-command-line-parsing.patch + * kdump-do-not-add-rd.neednet.patch + * kdump-Do-not-list-all-block-devices-if-no-block-devices-ar.patch + * kdump-ensure-initrd.target.wants-directory.patch + * kdump-Enumerate-all-BTRFS-devices-for-btrfs-mount-points.patch + * kdump-Implement-KString-isHexNumber.patch + * kdump-install-etc-resolv.conf-using-resolved-path.patch + * kdump-Mount-and-device-resolution-using-libmount-and-lsblk.patch + * kdump-remove-console-hvc0-from-commandline.patch + * kdump-set-serial-console-from-Xen-cmdline.patch + +------------------------------------------------------------------- +Wed Dec 8 15:06:58 UTC 2021 - Petr Tesa????k <ptesa...@suse.com> + +- Update to 0.9.2 + * Isolate fadump initrd within the default one (jsc#SLE-18272) + * Bug fixes + * Code cleanups +- Remove patches that have been upstreamed: + * kdump-mounts.cc-Include-sys-ioctl.h.patch + * kdump-Add-bootdev-to-dracut-command-line.patch + * kdump-do-not-iterate-past-end-of-string.patch + * kdump-fix-incorrect-exit-code-checking.patch + * kdump-avoid-endless-loop-on-EAI_AGAIN.patch + * kdump-install-real-resolv.conf.patch + * kdump-Store-kdump-initrd-in-kernel-image-path.patch +- Remove patches that have been solved differently: + * kdump-on-error-option-yesno.patch + +------------------------------------------------------------------- @@ -47,0 +92 @@ + * Bug fixes (bsc#1173914, bsc#1177196, bsc#1180513) Old: ---- kdump-0.9.1.tar.bz2 kdump-Add-bootdev-to-dracut-command-line.patch kdump-Store-kdump-initrd-in-kernel-image-path.patch kdump-avoid-endless-loop-on-EAI_AGAIN.patch kdump-do-not-iterate-past-end-of-string.patch kdump-fix-incorrect-exit-code-checking.patch kdump-install-real-resolv.conf.patch kdump-mounts.cc-Include-sys-ioctl.h.patch kdump-on-error-option-yesno.patch New: ---- kdump-0.9.2-mkdumprd-properly-pass-compression-params.patch kdump-0.9.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdump.spec ++++++ --- /var/tmp/diff_new_pack.mCsKwF/_old 2022-01-05 13:39:46.085526310 +0100 +++ /var/tmp/diff_new_pack.mCsKwF/_new 2022-01-05 13:39:46.089526313 +0100 @@ -1,7 +1,7 @@ # # spec file for package kdump # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ %define dracutlibdir %{_prefix}/lib/dracut Name: kdump -Version: 0.9.1 +Version: 0.9.2 Release: 0 Summary: Script for kdump License: GPL-2.0-or-later @@ -34,14 +34,7 @@ Source2: %{name}-rpmlintrc Patch1: %{name}-fillupdir-fixes.patch Patch9: %{name}-use-pbl.patch -Patch10: %{name}-on-error-option-yesno.patch -Patch11: %{name}-mounts.cc-Include-sys-ioctl.h.patch -Patch12: %{name}-Add-bootdev-to-dracut-command-line.patch -Patch13: %{name}-do-not-iterate-past-end-of-string.patch -Patch14: %{name}-fix-incorrect-exit-code-checking.patch -Patch15: %{name}-avoid-endless-loop-on-EAI_AGAIN.patch -Patch16: %{name}-install-real-resolv.conf.patch -Patch17: %{name}-Store-kdump-initrd-in-kernel-image-path.patch +Patch10: %{name}-0.9.2-mkdumprd-properly-pass-compression-params.patch BuildRequires: asciidoc BuildRequires: cmake BuildRequires: gcc-c++ @@ -98,13 +91,6 @@ %endif %patch9 -p1 %patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 %build export CXXFLAGS="%{optflags} -std=c++11" @@ -198,11 +184,12 @@ %{_fillupdir}/sysconfig.kdump %dir %{dracutlibdir} %dir %{dracutlibdir}/modules.d -%{dracutlibdir}/modules.d/99kdump/ +%{dracutlibdir}/modules.d/* %dir /lib/kdump /lib/kdump/* %dir /usr/lib/kdump /usr/lib/kdump/70-kdump.rules +/usr/lib/kdump/kdump-save %{_unitdir}/kdump.service %{_unitdir}/kdump-early.service %{_sbindir}/rckdump ++++++ kdump-0.9.2-mkdumprd-properly-pass-compression-params.patch ++++++ >From 6aaf4b81953c0f181c0f3c08073ba96ffd6a472e Mon Sep 17 00:00:00 2001 From: Libor Pechacek <lpecha...@suse.com> Date: Thu, 16 Dec 2021 14:25:56 +0100 Subject: [PATCH] mkdumprd: Properly pass compression params The compression parameter needs more careful handling so that the individual bits stay together. Fixes: 368fbdf62aa8 ("mkdumprd: Do not compress temporary fadump initrd") Signed-off-by: Libor Pechacek <lpecha...@suse.com> --- init/mkdumprd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/init/mkdumprd +++ b/init/mkdumprd @@ -86,7 +86,7 @@ function build_initrd() if [ "$KDUMP_FADUMP" = "yes" ] ; then build_fadumprd else - run_dracut --compress='xz -0 --check=crc32' + run_dracut --compress \'xz -0 --check=crc32\' fi } # }}} ++++++ kdump-0.9.1.tar.bz2 -> kdump-0.9.2.tar.bz2 ++++++ ++++ 6742 lines of diff (skipped) ++++++ kdump-fillupdir-fixes.patch ++++++ --- /var/tmp/diff_new_pack.mCsKwF/_old 2022-01-05 13:39:47.305527269 +0100 +++ /var/tmp/diff_new_pack.mCsKwF/_new 2022-01-05 13:39:47.309527272 +0100 @@ -1,8 +1,6 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 77205e1..3032d3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -182,7 +182,7 @@ ADD_CUSTOM_TARGET( +@@ -172,7 +172,7 @@ ADD_CUSTOM_TARGET( INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/sysconfig.kdump DESTINATION ++++++ kdump-use-pbl.patch ++++++ --- /var/tmp/diff_new_pack.mCsKwF/_old 2022-01-05 13:39:47.337527295 +0100 +++ /var/tmp/diff_new_pack.mCsKwF/_new 2022-01-05 13:39:47.341527297 +0100 @@ -15,7 +15,7 @@ --- a/init/CMakeLists.txt +++ b/init/CMakeLists.txt -@@ -65,7 +65,6 @@ INSTALL( +@@ -51,7 +51,6 @@ INSTALL( INSTALL( FILES ${CMAKE_CURRENT_SOURCE_DIR}/mkdumprd @@ -25,19 +25,15 @@ PERMISSIONS --- a/init/load.sh +++ b/init/load.sh -@@ -214,18 +214,10 @@ function fadump_bootloader() +@@ -255,14 +255,10 @@ function fadump_bootloader() local newstate="$1" # check if the old configuration is still valid - boot_opts=$(kdump-bootloader.pl --get) - nofadump_opts=$(echo "$boot_opts" | remove_from_commandline 'fadump') -- old_opts=$($KDUMPTOOL -F /dev/null -C <(echo "$boot_opts") \ -- dump_config --usage dump --format kernel --nodefault) if [ "$newstate" = on ] ; then -- curr_opts=$($KDUMPTOOL dump_config --usage dump --format kernel --nodefault) -- if [ "$old_opts" != "$curr_opts" -o \ -- "$boot_opts" = "$nofadump_opts" ] ; then -- kdump-bootloader.pl --update fadump=on "$curr_opts" +- if [ "$boot_opts" = "$nofadump_opts" ] ; then +- kdump-bootloader.pl --update fadump=on - fi - elif [ "$boot_opts" != "$nofadump_opts" ] ; then - kdump-bootloader.pl --update @@ -78,7 +74,7 @@ - my $param = $rawparam; - $param =~ s/"//g; - $param =~ s/=(.*)//; -- if (! ($param =~ /^KDUMP(TOOL)?_|^MAKEDUMPFILE_|^fadump$/)) { +- if (! ($param =~ /^fadump$/)) { - $result .= " " if length($result); - $result .= $rawparam; - }