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

zbiggy zbiggy at lunar-linux.org
Mon Jul 4 16:26:39 UTC 2005


Author: zbiggy
Date: 2005-07-04 16:26:37 +0000 (Mon, 04 Jul 2005)
New Revision: 15591

Modified:
   moonbase/branches/submissions/new/udev-060.patch
Log:
This is _not_ new version. This is bugfix update for udev-60 module.
Without it hotplug devices (like my USB ADSL modem) will not work.
Nothing is changed, only hotplug functionality is added so everyone
can use this bugfixed module.

greets,
zbiggy


Modified: moonbase/branches/submissions/new/udev-060.patch
===================================================================
--- moonbase/branches/submissions/new/udev-060.patch	2005-07-04 15:50:50 UTC (rev 15590)
+++ moonbase/branches/submissions/new/udev-060.patch	2005-07-04 16:26:37 UTC (rev 15591)
@@ -1,5 +1,37 @@
+--- udev/BUILD	2005-05-07 20:07:47.000000000 +0200
++++ udev/BUILD	2005-07-04 15:00:56.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,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
 --- udev/DETAILS	2005-07-01 18:31:46.000000000 +0200
-+++ udev/DETAILS	2005-07-03 22:46:48.000000000 +0200
++++ udev/DETAILS	2005-07-04 15:02:59.000000000 +0200
 @@ -1,14 +1,14 @@
            MODULE=udev
 -         VERSION=059
@@ -14,7 +46,7 @@
          WEB_SITE=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
           ENTERED=20040104
 -         UPDATED=20050701
-+         UPDATED=20050703
++         UPDATED=20050704
             PSAFE=no
             SHORT="Device naming from userspace for 2.6+ kernels"
  



More information about the Lunar-commits mailing list