Author: glen
Date: Sun Oct 28 23:07:47 2007
New Revision: 8896

Modified:
   geninitrd/trunk/geninitrd
Log:
- do not assume user has booted from suspend enabled kernel when generating 
initrd for suspend

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Sun Oct 28 23:07:47 2007
@@ -1271,7 +1271,7 @@
        fi
        inst_d /etc /dev
        resume_dev="$(awk '/^resume device =/ { print $4 } ' /etc/suspend.conf)"
-       inst /dev/snapshot /dev
+       mknod $MNTIMAGE/dev/snapshot c 10 231
        inst $resume_dev /dev
        inst /etc/suspend.conf /etc/suspend.conf
        if [ -x /usr/${_lib}/suspend/resume ]; then
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to