Author: arekm
Date: Sun Jan  8 23:04:21 2012
New Revision: 12461

Modified:
   geninitrd/trunk/geninitrd
Log:
Try to always have /dev/console in root fs.

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Sun Jan  8 23:04:21 2012
@@ -826,6 +826,7 @@
        umount_all
        busybox_applet switch_root
        add_linuxrc <<-'EOF'
+               [ ! -e /newroot/dev/console ] && mknod -m 660 
/newroot/dev/console c 5 1 > /dev/null 2>&1
                exec switch_root /newroot $init ${1:+"$@"}
 
                echo "Error! initramfs should not reach this place."
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to