]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions.sh:require_binaries() clarify message
authorHarald Hoyer <harald@redhat.com>
Tue, 20 May 2014 11:23:43 +0000 (13:23 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 20 May 2014 11:23:43 +0000 (13:23 +0200)
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.

dracut-functions.sh

index 12363d8c5809446b2ccf36624d3a5e561a52bef4..ac22b7e56aecbff5f903267bdb029d9d64d6db4f 100755 (executable)
@@ -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