[kexec-tools] Update kdump dracut module with the latest dracut kdump branch

Cong Wang wangcong at fedoraproject.org
Tue Jan 10 05:28:34 UTC 2012


commit 113404857aeedd341cb61c1e6ae8db85c4013101
Author: Cong Wang <xiyou.wangcong at gmail.com>
Date:   Tue Jan 10 13:28:27 2012 +0800

    Update kdump dracut module with the latest dracut kdump branch

 kexec-tools.spec |    5 ++++-
 mkdumprd         |    3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/kexec-tools.spec b/kexec-tools.spec
index e283145..edbc570 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -1,6 +1,6 @@
 Name: kexec-tools
 Version: 2.0.2
-Release: 30%{?dist}
+Release: 31%{?dist}
 License: GPLv2
 Group: Applications/System
 Summary: The kexec/kdump userspace component.
@@ -297,6 +297,9 @@ done
 
 
 %changelog
+* Tue Jan 10 2012 Cong Wang <xiyou.wangcong at gmail.com> - 2.0.2-31
+- Update kdump dracut module with the latest dracut kdump branch.
+
 * Fri Dec 16 2011 Cong Wang <xiyou.wangcong at gmail.com> - 2.0.2-30
 - Update kdump dracut module to use the latest dracut feature.
 
diff --git a/mkdumprd b/mkdumprd
index d596c4d..d09d3ff 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -92,7 +92,7 @@ if [ -n "$conf_file" ]; then
             check_remote "$config_val"
             if strstr "$config_val" "@";
             then
-                add_dracut_module "scp"
+                add_dracut_module "ssh-client"
             else
                 add_dracut_module "nfs"
                 add_dracut_mount "$(to_mount $config_val)"
@@ -120,5 +120,6 @@ then
 fi
 
 dracut "${dracut_args[@]}" -M "$@"
+sync
 exit $?
 


More information about the scm-commits mailing list