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 <dliu@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
This commit is contained in:
Dangyi Liu 2015-08-10 10:54:15 +08:00 committed by Baoquan He
parent b57fd97ba5
commit 97c5d890b2
1 changed files with 1 additions and 1 deletions

View File

@ -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() {