[kexec-tools] Bypass -d option.

Cong Wang wangcong at fedoraproject.org
Thu Jul 21 13:04:33 UTC 2011


commit c5f74a28e883faf94e3874b5ca4ad050c874f8c3
Author: Amerigo Wang <amwang at redhat.com>
Date:   Thu Jul 21 21:04:09 2011 +0800

    Bypass -d option.

 kexec-tools.spec |    5 ++++-
 mkdumprd         |    3 +++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/kexec-tools.spec b/kexec-tools.spec
index 07370fb..137a7ab 100644
--- a/kexec-tools.spec
+++ b/kexec-tools.spec
@@ -1,6 +1,6 @@
 Name: kexec-tools
 Version: 2.0.2
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: GPLv2
 Group: Applications/System
 Summary: The kexec/kdump userspace component.
@@ -281,6 +281,9 @@ done
 
 
 %changelog
+* Thu Jul 21 2011 Cong Wang <xiyou.wangcong at gmail.com> - 2.0.2-5
+- Bypass '-d' option.
+
 * Thu Jul 21 2011 Cong Wang <xiyou.wangcong at gmail.com> - 2.0.2-4
 - Update initramfs infrastructure to make it working
   with dracut.
diff --git a/mkdumprd b/mkdumprd
index 11687dd..e8aefb6 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -18,6 +18,9 @@ add_dracut_arg() {
 
 while [ $# -gt 0 ]; do
     case $1 in
+    -d)
+        shift
+        ;;
     --noconf)
         conf_file=""
         shift


More information about the scm-commits mailing list