When '' was passed as outfile, dracut generated name with following pattern: /boot/initramfs-$kernel With commit 486a1b9324d6fc7bc534d8147d64b8b259692c46 dracut skips '' argument. --- dracut | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dracut b/dracut index 6b67dc0..e7d0990 100755 --- a/dracut +++ b/dracut @@ -188,6 +188,7 @@ push_arg() { } kernel="unset" +outfile="unset" verbosity_mod_l=0 while (($# > 0)); do @@ -237,7 +238,7 @@ while (($# > 0)); do ;; -*) printf "\nUnknown option: %s\n\n" "$1" >&2; usage; exit 1;; *) - if ! [[ $outfile ]]; then + if [[ $outfile = "unset" ]]; then outfile=$1 elif [[ $kernel = "unset" ]]; then kernel=$1 -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html