From af2ac89151441d547d94938f805b721652d82eae Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Sat, 7 Mar 2009 12:06:17 +0100 Subject: [PATCH] fixed -c parameter handling and Makefile --- Makefile | 2 +- dracut | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a40b8ee..2158448 100644 --- a/Makefile +++ b/Makefile @@ -31,5 +31,5 @@ rpm: dracut-$(VERSION)-$(GITVERSION).tar.bz2 rm -fr BUILD BUILDROOT testimage: all - ./dracut -l -f test-$(shell uname -r).img $(shell uname -r) + ./dracut -l -c ./dracut.conf -f test-$(shell uname -r).img $(shell uname -r) @echo wrote test-$(shell uname -r).img diff --git a/dracut b/dracut index dad6687..2bebabe 100755 --- a/dracut +++ b/dracut @@ -16,7 +16,7 @@ while (($# > 0)); do -h|--help) echo "Usage: $0 [-f] " exit 1 ;; -v|--verbose) set -x;; - -c|--conf) conffile="$2" ;; + -c|--conf) conffile="$2"; shift;; -l|--local) allowlocal="yes" ;; --allow-missing) : ;; *) break ;; -- 2.7.4