From c5f74a28e883faf94e3874b5ca4ad050c874f8c3 Mon Sep 17 00:00:00 2001 From: Amerigo Wang Date: Thu, 21 Jul 2011 21:04:09 +0800 Subject: [PATCH] Bypass -d option. --- kexec-tools.spec | 5 ++++- mkdumprd | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 - 2.0.2-5 +- Bypass '-d' option. + * Thu Jul 21 2011 Cong Wang - 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