From cf5d362dca1bf957a22553296243f86082f392ce Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Fri, 14 Jun 2019 15:49:42 +0800 Subject: [PATCH] dracut-module-setup.sh: Don't use squash module for fadump Squash module is used to save memory. For fadump this is not neccessary and may slow down the build time, and make it more fragile. fadump initramfs is used for normal boot as well, although squash module is capable of being used for generic normal boot, but there are cases where is doesn't work well. So disable it and make fadump more robust. Signed-off-by: Kairui Song Tested-by: Hari Bathini Acked-by: Dave Young --- dracut-module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh index 07200b7..27b9f02 100755 --- a/dracut-module-setup.sh +++ b/dracut-module-setup.sh @@ -30,7 +30,7 @@ depends() { done } - if is_squash_available; then + if is_squash_available && ! is_fadump_capable; then _dep="$_dep squash" else dwarning "Required modules to build a squashed kdump image is missing!"