From 97c5d890b215c6620c4bd76ef22b565bf3c954f3 Mon Sep 17 00:00:00 2001 From: Dangyi Liu Date: Mon, 10 Aug 2015 10:54:15 +0800 Subject: [PATCH] mkdumprd: Remove ifcfg from dracut's modules Ifcfg depends on network module, which is quite large and useless when using a local dump target. Also we don't really need ifcfg to setup network interfaces. So just remove it. On fedora22, the uncompressed dumprd would decrease about 20MB when using a local dump target. A regression testing is also conducted with targets of nfs and ssh. Signed-off-by: Dangyi Liu Acked-by: Baoquan He --- mkdumprd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdumprd b/mkdumprd index 28ecdd7..6e3d975 100644 --- a/mkdumprd +++ b/mkdumprd @@ -17,7 +17,7 @@ SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2) SAVE_PATH=$(echo $SAVE_PATH | tr -s /) extra_modules="" -dracut_args=("--hostonly" "-o" "plymouth dash resume") +dracut_args=("--hostonly" "-o" "plymouth dash resume ifcfg") OVERRIDE_RESETTABLE=0 perror_exit() {