SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Tue Feb 17 09:44:15 CET 2009
Author: glen
Date: Tue Feb 17 09:44:15 2009
New Revision: 10126
Modified:
geninitrd/trunk/geninitrd
Log:
- take only insmod lines, ignore install lines when processing module dependencies,
thus effectively ignoring modprobe extra configs ...
http://www.mail-archive.com/pld-devel-pl@lists.pld-linux.org/msg22351.html
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Tue Feb 17 09:44:15 2009
@@ -301,9 +301,9 @@
fi
# This works when user has module-init-tools installed even on 2.4 kernels
- modprobe --set-version $kernel --show-depends $module | \
+ modprobe --set-version $kernel --show-depends $module --ignore-install | \
while read insmod modpath options; do
- echo $modpath
+ [ "$insmod" = "insmod" ] && echo $modpath
done
}
More information about the pld-cvs-commit
mailing list