From d25d3d4500d1ca1357350fa4a28ac89a33f250e0 Mon Sep 17 00:00:00 2001 From: Philipp Rudo Date: Tue, 18 Jun 2024 14:57:16 +0200 Subject: [PATCH 2/7] kdump-lib: fix sed expression in prepare_cmdline on aarch64 The sed expression misses a 's' for search and replace... Fixes: 0f6ad91 ("kdump-lib: fix prepare_cmdline") Signed-off-by: Philipp Rudo --- kdump-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdump-lib.sh b/kdump-lib.sh index 79714f9..35f0ac9 100755 --- a/kdump-lib.sh +++ b/kdump-lib.sh @@ -802,7 +802,7 @@ prepare_cmdline() # This is a workaround on AWS platform. Always remove irqpoll since it # may cause the hot-remove of some pci hotplug device. - is_aws_aarch64 && out=$(echo "$out" | sed -e "/\//") + is_aws_aarch64 && out=$(echo "$out" | sed -e "s/\//") # Always disable gpt-auto-generator as it hangs during boot of the # crash kernel. Furthermore we know which disk will be used for dumping -- 2.45.2