[Lunar-commits] r15610 - moonbase/trunk/filesys/udev

Florin Braescu florin at lunar-linux.org
Wed Jul 6 12:58:51 UTC 2005


Author: florin
Date: 2005-07-06 12:58:51 +0000 (Wed, 06 Jul 2005)
New Revision: 15610

Modified:
   moonbase/trunk/filesys/udev/BUILD
   moonbase/trunk/filesys/udev/DETAILS
Log:
patch from zbiggy tested and accepted. thank you zbiggy for your work.

Modified: moonbase/trunk/filesys/udev/BUILD
===================================================================
--- moonbase/trunk/filesys/udev/BUILD	2005-07-06 11:56:11 UTC (rev 15609)
+++ moonbase/trunk/filesys/udev/BUILD	2005-07-06 12:58:51 UTC (rev 15610)
@@ -1,11 +1,11 @@
 (
 
-    patch_it $SOURCE2 0        &&
+    patch_it $SOURCE2 0  &&
 
-    make udevdir=/dev          &&
-    prepare_install            &&
-    make udevdir=/dev install  &&
- 
+    make udevdir=/dev EXTRAS=extras/run_directory  &&
+    prepare_install  &&
+    make udevdir=/dev EXTRAS=extras/run_directory install  &&
+
     # install the init.d script
     # we cannot use automagic install via coretools
     # since the udev script would be linked from rcX.d
@@ -14,10 +14,14 @@
 
     install ${SCRIPT_DIRECTORY}/49-udev.rules /etc/udev/rules.d/  &&
 
+    # compability patch included by Zbigniew 'zbiggy' Luszpinski  <zbiggy at o2.pl>
+    if ! grep -q 'ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd"' /etc/udev/rules.d/50-udev.rules; then
+    echo 'ENV{UDEVD_EVENT}=="1", RUN+="/sbin/udev_run_hotplugd"' >> /etc/udev/rules.d/50-udev.rules
+    fi
     mkdir -p /etc/udev/scripts.d/                          
     for script in ide-devfs.sh scsi-devfs.sh dvb.sh raid-devfs.sh
     do
         install extras/${script} /etc/udev/scripts.d/
     done
-     
+
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/filesys/udev/DETAILS
===================================================================
--- moonbase/trunk/filesys/udev/DETAILS	2005-07-06 11:56:11 UTC (rev 15609)
+++ moonbase/trunk/filesys/udev/DETAILS	2005-07-06 12:58:51 UTC (rev 15610)
@@ -8,7 +8,7 @@
      SOURCE2_VFY=sha1:9fc20cdd3ae95476dc066b2ff20c167f5c41c736
         WEB_SITE=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
          ENTERED=20040104
-         UPDATED=20050703
+         UPDATED=20050706
            PSAFE=no
            SHORT="Device naming from userspace for 2.6+ kernels"
 



More information about the Lunar-commits mailing list