29 lines
961 B
Diff
29 lines
961 B
Diff
|
From: Petr Tesarik <ptesarik@suse.com>
|
||
|
Date: Thu, 22 Feb 2018 14:03:26 +0100
|
||
|
Subject: bootloader: Filter out KDUMPTOOL_FLAGS
|
||
|
References: bsc#1072584
|
||
|
Upstream: merged
|
||
|
Git-commit: df216d1815eae7e8c4b139e0676696de4dc447d2
|
||
|
|
||
|
The bootloader update filters out all parameters starting with
|
||
|
KDUMP_, MAKEDUMPFILE_ or fadump. KDUMPTOOL_FLAGS does not match, so
|
||
|
it is not removed and consequently multiple instances may appear on
|
||
|
the command line.
|
||
|
|
||
|
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
|
||
|
---
|
||
|
init/kdump-bootloader.pl | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/init/kdump-bootloader.pl
|
||
|
+++ b/init/kdump-bootloader.pl
|
||
|
@@ -26,7 +26,7 @@ if ($ARGV[0] eq "--get") {
|
||
|
my $param = $rawparam;
|
||
|
$param =~ s/"//g;
|
||
|
$param =~ s/=(.*)//;
|
||
|
- if (! ($param =~ /^(KDUMP|MAKEDUMPFILE)_|^fadump$/)) {
|
||
|
+ if (! ($param =~ /^KDUMP(TOOL)?_|^MAKEDUMPFILE_|^fadump$/)) {
|
||
|
$result .= " " if length($result);
|
||
|
$result .= $rawparam;
|
||
|
}
|