[Lunar-commits] r15630 - moonbase/branches/submissions/new

zbiggy zbiggy at lunar-linux.org
Thu Jul 7 12:20:34 UTC 2005


Author: zbiggy
Date: 2005-07-07 12:20:31 +0000 (Thu, 07 Jul 2005)
New Revision: 15630

Added:
   moonbase/branches/submissions/new/udev-061.patch1
Log:
This is original patch1 I sent for udev.
The second, patch2 meets nestu's requirements.


Added: moonbase/branches/submissions/new/udev-061.patch1
===================================================================
--- moonbase/branches/submissions/new/udev-061.patch1	2005-07-07 12:11:56 UTC (rev 15629)
+++ moonbase/branches/submissions/new/udev-061.patch1	2005-07-07 12:20:31 UTC (rev 15630)
@@ -0,0 +1,32 @@
+--- udev/BUILD	2005-07-07 09:31:51.000000000 +0200
++++ udev/BUILD	2005-07-07 13:33:51.000000000 +0200
+@@ -2,10 +2,10 @@
+ 
+     patch_it $SOURCE2 0        &&
+ 
+-    make udevdir=/dev          &&
++    make udevdir=/dev EXTRAS=extras/run_directory &&
+     prepare_install            &&
+-    make udevdir=/dev 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,11 +14,15 @@
+ 
+     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



More information about the Lunar-commits mailing list