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 --- 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() {
ACK
On 08/10/15 at 10:54am, Dangyi Liu wrote:
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
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() {
2.4.3
kexec mailing list kexec@lists.fedoraproject.org https://lists.fedoraproject.org/mailman/listinfo/kexec