dracut/0080-dracut-remove-duplicate-options.patch
2011-10-19 15:30:00 +02:00

27 lines
1.0 KiB
Diff

From 7e8228cf5aa43722d2e6a71b5593ed1478938a31 Mon Sep 17 00:00:00 2001
From: Michal Soltys <soltys@ziu.info>
Date: Mon, 17 Oct 2011 23:01:49 +0200
Subject: [PATCH] dracut: remove duplicate options
'-I' and '--fwdir' were both read_arg and push_arg, and the latter has
priority.
Signed-off-by: Michal Soltys <soltys@ziu.info>
---
dracut | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dracut b/dracut
index 205f5d1..4bc0db3 100755
--- a/dracut
+++ b/dracut
@@ -212,8 +212,6 @@ while (($# > 0)); do
-c|--conf) read_arg conffile "$@" || shift;;
--confdir) read_arg confdir "$@" || shift;;
-L|--stdlog) read_arg stdloglvl_l "$@" || shift;;
- -I|--install) read_arg install_items "$@" || shift;;
- --fwdir) read_arg fw_dir_l "$@" || shift;;
--compress) read_arg compress_l "$@" || shift;;
--prefix) read_arg prefix_l "$@" || shift;;
-f|--force) force=yes;;