SVN: geninitrd/trunk/mod-lvm.sh
arekm
arekm at pld-linux.org
Sat Aug 15 23:22:29 CEST 2009
Author: arekm
Date: Sat Aug 15 23:22:28 2009
New Revision: 10483
Modified:
geninitrd/trunk/mod-lvm.sh
Log:
- create urandom device on initrd; - mount sysfs for lvm.static
Modified: geninitrd/trunk/mod-lvm.sh
==============================================================================
--- geninitrd/trunk/mod-lvm.sh (original)
+++ geninitrd/trunk/mod-lvm.sh Sat Aug 15 23:22:28 2009
@@ -126,6 +126,9 @@
mount_dev
fi
+ inst_d /dev
+ mknod $DESTDIR/dev/urandom c 1 9
+
if ! is_yes "$dev_mounted"; then
inst_d /dev/mapper
mknod $DESTDIR/dev/mapper/control c 10 63
@@ -137,6 +140,7 @@
fi
mount_tmp
+ mount_sys
if [ "$LVMTOOLSVERSION" = "1" ]; then
add_linuxrc <<-EOF
lvm vgscan -T
More information about the pld-cvs-commit
mailing list