This is a fix to an urgent SLE bug spotted by the openQA automation. To alleviate the pressure, I'm submitting the fix in parallel to the upstream pull request at https://github.com/openSUSE/kdump/pull/24 . - kdump-0.9.2-mkdumprd-Properly-pass-compression-params.patch: Fix malformation in passing Dracut compression parameters in mkdumprd (bsc#1193765). - Refresh existing patches. OBS-URL: https://build.opensuse.org/request/show/943594 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=217
26 lines
868 B
Diff
26 lines
868 B
Diff
From 6aaf4b81953c0f181c0f3c08073ba96ffd6a472e Mon Sep 17 00:00:00 2001
|
|
From: Libor Pechacek <lpechacek@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 <lpechacek@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
|
|
} # }}}
|
|
|