From: Harald Hoyer Date: Sat, 7 Mar 2009 11:06:17 +0000 (+0100) Subject: fixed -c parameter handling and Makefile X-Git-Tag: 0.1~310 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af2ac89151441d547d94938f805b721652d82eae;p=platform%2Fupstream%2Fdracut.git fixed -c parameter handling and Makefile --- 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 ;;