commit 84153439250780b5589b259575f0c3bdc5ee0196
Author: Jan Rękorajski <[email protected]>
Date:   Tue Jan 22 12:08:47 2013 +0100

    - sync udevadm trigger calls with how upstream systemd service does it
    - rel 5

 start_udev   | 10 ++++------
 systemd.spec |  2 +-
 2 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 5d3a128..c6206f4 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -41,7 +41,7 @@ Summary(pl.UTF-8):    systemd - zarządca systemu i usług dla 
Linuksa
 Name:          systemd
 # Verify ChangeLog and NEWS when updating (since there are 
incompatible/breaking changes very often)
 Version:       197
-Release:       4
+Release:       5
 Epoch:         1
 License:       GPL v2+
 Group:         Base
diff --git a/start_udev b/start_udev
index a2d20c0..17f09af 100644
--- a/start_udev
+++ b/start_udev
@@ -125,15 +125,13 @@ if [ -f "/sys/class/tty/console/uevent" ]; then
        ret=$(( $ret + $? ))
 
        # retrigger all events
-       # Udev finds it's own way of making this dir
-       # and making it by hand makes udevsettle
-       # work forever
-       #mkdir -p /dev/.udev/queue
-       udevadm trigger
+       /sbin/udevadm trigger --type=subsystems --action=add
+       ret=$(( $ret + $? ))
+       /sbin/udevadm trigger --type=devices --action=add
        ret=$(( $ret + $? ))
 
        # wait for the events to finish
-       udevadm settle
+       /sbin/udevadm settle
        ret=$(( $ret + $? ))
 else
        echo "Kernel too old for this udev version"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/84153439250780b5589b259575f0c3bdc5ee0196

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to