From: Harald Hoyer Date: Tue, 20 May 2014 11:23:43 +0000 (+0200) Subject: dracut-functions.sh:require_binaries() clarify message X-Git-Tag: 038~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa5dbedc5b222435f51f7460a81232ee120c4e1;p=thirdparty%2Fdracut.git dracut-functions.sh:require_binaries() clarify message The info message written by require_binaries() was a bit frighten to users. So just be a little bit more verbose. If you have ideas on how to improve the message for these "soft" dependency modules, please submit patches. --- diff --git a/dracut-functions.sh b/dracut-functions.sh index 12363d8c5..ac22b7e56 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -53,7 +53,7 @@ require_binaries() { for cmd in "$@"; do if ! find_binary "$cmd" &>/dev/null; then - dinfo "$_module_name: Could not find command '$cmd'!" + dinfo "dracut module '${_module_name#[0-9][0-9]}' will not be installed, because command '$cmd' could not be found!" ((_ret++)) fi done