Author: glen
Date: Sat Oct 6 00:33:55 2007
New Revision: 8788
Modified:
geninitrd/trunk/geninitrd
Log:
- add device-mapper to lvm types when using dmraid
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Sat Oct 6 00:33:55 2007
@@ -1340,6 +1340,9 @@
if is_yes "$raidfound"; then
echo " md_component_detection = 1" >>
"$MNTIMAGE/etc/lvm.conf"
fi
+ if is_yes "$USE_DMRAID"; then
+ echo ' types = [ "device-mapper", 254 ]' >>
"$MNTIMAGE/etc/lvm.conf"
+ fi
lvm dumpconfig | awk '/filter=/' >> "$MNTIMAGE/etc/lvm.conf"
echo "}" >> "$MNTIMAGE/etc/lvm.conf"
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit