7f4a44d791
Patches which add new features were skipped.
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From e04eb8e31004f9edd81243b8c9cf1f8681f92ea0 Mon Sep 17 00:00:00 2001
|
|
From: Harald Hoyer <harald@redhat.com>
|
|
Date: Tue, 20 May 2014 13:23:43 +0200
|
|
Subject: [PATCH] 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.
|
|
---
|
|
dracut-functions.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/dracut-functions.sh b/dracut-functions.sh
|
|
index 6754cc5e29..054f7b58ee 100755
|
|
--- a/dracut-functions.sh
|
|
+++ b/dracut-functions.sh
|
|
@@ -49,7 +49,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
|
|
--
|
|
1.9.3
|
|
|