This patch series includes some code cleanups, makes --hostonly mode a bit more finegrained w.r.t initramfs creation, and lays some groundwork for integrating dracut-gencmdline in with the rest of dracut. --- dracut | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dracut b/dracut index 6e47077..78cd2ef 100755 --- a/dracut +++ b/dracut @@ -136,7 +136,7 @@ esac [[ $1 ]] && outfile=$(readlink -f $1) || outfile="/boot/initrd-$kernel.img" srcmods="/lib/modules/$kernel/" -[ -n "$drivers_dir" ] && srcmods="$drivers_dir" +[[ $drivers_dir ]] && srcmods="$drivers_dir" export srcmods if [[ -f $outfile && ! $force ]]; then -- 1.6.0.4 -- 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