Author: adamg
Date: Sat Aug 15 11:04:05 2009
New Revision: 10481
Modified:
geninitrd/trunk/geninitrd
Log:
- check if proc is mounted before setting up mods, otherwise
geninitrd will complain about not being able to determine lvm version
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Sat Aug 15 11:04:05 2009
@@ -825,6 +825,10 @@
. /etc/sysconfig/geninitrd
fi
+if [ ! -f /proc/mounts ]; then
+ warn "/proc filesystem not mounted, may cause wrong results or failure."
+fi
+
geninitrd_load_mods ide luks multipath dmraid lvm md blkid udev tuxonice
suspend fbsplash condecor bootsplash uvesafb nfs scsi
while [ $# -gt 0 ]; do
@@ -1053,10 +1057,6 @@
die "/lib/modules/$kernel is not a directory."
fi
-if [ ! -f /proc/mounts ]; then
- warn "/proc filesystem not mounted, may cause wrong results or failure."
-fi
-
if [ "$kernel_version" -ge "002005" ]; then
modext=".ko"
fi
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit