[readonly/geninitrd/devel: 198/334] Print warning when ide-generic is used as fallback.
draenog
draenog at pld-linux.org
Sat Nov 2 19:28:10 CET 2013
commit 5de40f1ff2bfb95355836322227b774056875c82
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Apr 2 23:15:07 2004 +0000
Print warning when ide-generic is used as fallback.
svn-id: @3863
geninitrd | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 219a17d..007f6f1 100755
--- a/geninitrd
+++ b/geninitrd
@@ -523,7 +523,10 @@ END {
done
idemodules="${new_idemodules}"
fi
- [ -z "$idemodules" ] && idemodules="ide-generic"
+ if [ -z "$idemodules" ]; then
+ echo "WARNING: rootfs on IDE device but no related modules found, loading ide-generic."
+ idemodules="ide-generic"
+ fi
for nd in $idemodules; do
findmodule "-$nd"
done
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list