[readonly/geninitrd/devel: 254/334] Revert, doesn't make sense for udev case.
draenog
draenog at pld-linux.org
Sat Nov 2 19:32:53 CET 2013
commit afaefcb57a03228301c4710688dee23a1caa206e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Nov 1 15:33:16 2005 +0000
Revert, doesn't make sense for udev case.
svn-id: @6509
geninitrd | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 000086b..85cdc86 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1194,8 +1194,10 @@ initrd_gen_lvm() {
mkdir -p $MNTIMAGE/tmp
mkdir -p $MNTIMAGE/proc
mkdir -p $MNTIMAGE/newroot
- mkdir -p $MNTIMAGE/dev/mapper
- mknod $MNTIMAGE/dev/mapper/control c 10 62
+ if ! is_yes "$USE_UDEV"; then
+ mkdir -p $MNTIMAGE/dev/mapper
+ mknod $MNTIMAGE/dev/mapper/control c 10 63
+ fi
echo "mount -t proc none /proc" >> "$s"
echo "mount -t tmpfs none /tmp" >> "$s"
if [ "$LVMTOOLSVERSION" = "1" ] ; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11
More information about the pld-cvs-commit
mailing list