kexec-tools/0002-kdump-lib-fix-sed-expression-in-prepare_cmdline-on-a.patch
Philipp Rudo ee3b7a45dd kdump-lib: fix sed expression in prepare_cmdline on aarch64
Resolves: RHEL-40745

commit f3669ac67a8c4a05ba7a9c9b62ae8756e50a186b
Author: Philipp Rudo <prudo@redhat.com>
Date:   Tue Jun 18 14:57:16 2024 +0200

    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 <prudo@redhat.com>

Signed-off-by: Philipp Rudo <prudo@redhat.com>
2024-07-09 15:20:24 +02:00

31 lines
1.0 KiB
Diff

From d25d3d4500d1ca1357350fa4a28ac89a33f250e0 Mon Sep 17 00:00:00 2001
From: Philipp Rudo <prudo@redhat.com>
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 <prudo@redhat.com>
---
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 "/\<irqpoll\>//")
+ is_aws_aarch64 && out=$(echo "$out" | sed -e "s/\<irqpoll\>//")
# 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