[Lunar-commits] CVS: moonbase/filesys/udev BUILD, 1.13, 1.14 POST_INSTALL, 1.1, 1.2

Jaime Buffery nestu at lunar-linux.org
Fri Jan 14 23:14:37 UTC 2005


Update of /var/cvs/lunar/moonbase/filesys/udev
In directory espresso.foo-projects.org:/tmp/cvs-serv18223

Modified Files:
	BUILD POST_INSTALL 
Log Message:
Now udev works OOTB (is installed with a default run on /dev instead of /udev). 
I have added BIG and FAT warning at POST_INSTALL to make sure people get the idea.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/filesys/udev/BUILD,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- BUILD	14 Jan 2005 22:40:07 -0000	1.13
+++ BUILD	14 Jan 2005 23:14:35 -0000	1.14
@@ -1,9 +1,11 @@
 (
 
-    patch_it $SOURCE2 1 					&&
-	patch_it $SOURCE3 0                     &&
+    patch_it $SOURCE2 1  &&
+    patch_it $SOURCE3 0  &&
   
-    default_make						&&
+    make udevdir=/dev          &&
+    prepare_install            &&
+    make udevdir=/dev install  &&
  
     # install the init.d script
     # we cannot use automagic install via coretools

Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/filesys/udev/POST_INSTALL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- POST_INSTALL	8 Nov 2004 09:55:52 -0000	1.1
+++ POST_INSTALL	14 Jan 2005 23:14:35 -0000	1.2
@@ -23,6 +23,7 @@
 }
 
 FAKEROOT=/tmp/UDEV_NODE_ROOT/ 
+echo    ""
 echo -n "Creating virtual fake root... "       && mkdir ${FAKEROOT}          && echo "done."
 echo -n "Creating fake root to check /dev... " && mount --bind / ${FAKEROOT} && echo "done."
 echo    "Checking /dev/ for needed static boot nodes... "
@@ -33,4 +34,26 @@
 echo -n "Unmounting fake root... "   && umount ${FAKEROOT} && echo "done."
 echo -n "Removing fake root dir... " && rm -rf ${FAKEROOT} && echo "done."
 
+cat << EOF
+
+
+**************************************************************************
+*                                                                        *
+*   Next time you reboot with a 2.6.X kernel your box will try to boot   *
+*   with udev. Make sure your kernel has support for udev.               *
+*                                                                        *
+*   If you wish to disable this behaviour you can edit /etc/udev/conf,   *
+*   setting udev_root=/udev instead of udev_root=/dev.                   *
+*                                                                        *
+*   You can also disable udev passing on kernel command line             *
+*   dev=static, if you have static nodes or                              *
+*   dev=devfs, if you wish to carry on using devfs with 2.6 kernels.     *
+*                                                                        * 
+*   Please refer to http://www.lunar-linux.org for more information.     *
+*                                                                        *
+**************************************************************************
+
+
+EOF
+  
 exit 0



More information about the Lunar-commits mailing list