From 24b00298d0b869c94dc7a894c673c2aff6dd83d7 Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Sun, 1 Dec 2019 00:00:50 +0800 Subject: [PATCH] Always install sed and awk sed and awk is heavily used everywhere in the code, but it's not explicitely installed by kdump dracut module. If the module in dracut stop installing them (which already happened with latest dracut upstream), kdump will break. Signed-off-by: Kairui Song Acked-by: Pingfan Liu --- dracut-module-setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh index 9babae8..3558a0f 100755 --- a/dracut-module-setup.sh +++ b/dracut-module-setup.sh @@ -819,6 +819,8 @@ install() { inst "/bin/sync" "/bin/sync" inst "/bin/cut" "/bin/cut" inst "/bin/head" "/bin/head" + inst "/bin/awk" "/bin/awk" + inst "/bin/sed" "/bin/sed" inst "/sbin/makedumpfile" "/sbin/makedumpfile" inst "/sbin/vmcore-dmesg" "/sbin/vmcore-dmesg" inst "/lib/kdump/kdump-lib.sh" "/lib/kdump-lib.sh"