aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootscripts/ChangeLog5
-rw-r--r--bootscripts/lfs/init.d/udev2
-rw-r--r--bootscripts/lfs/init.d/udev_retry2
3 files changed, 7 insertions, 2 deletions
diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog
index 2a2a334e5..aaff70c15 100644
--- a/bootscripts/ChangeLog
+++ b/bootscripts/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-20 Bryan Kadzban <bryan@linuxfromscratch.org>
+ * lfs/init.d/udev, lfs/init.d/udev_retry: Add --action=add, to handle udev
+ version 152 and newer, which send "change" events by default in udevtrigger
+ now.
+
2010-01-24 Matthew Burgess <matthew@linuxfromscratch.org>
* lfs/init.d/udev: Check to see if /dev is already mounted, as it may be if
under an initramfs environment. See ticket #2550.
diff --git a/bootscripts/lfs/init.d/udev b/bootscripts/lfs/init.d/udev
index 18965d514..ff4fe2a7a 100644
--- a/bootscripts/lfs/init.d/udev
+++ b/bootscripts/lfs/init.d/udev
@@ -62,7 +62,7 @@ case "${1}" in
# Now traverse /sys in order to "coldplug" devices that have
# already been discovered
- /sbin/udevadm trigger
+ /sbin/udevadm trigger --action=add
# Now wait for udevd to process the uevents we triggered
/sbin/udevadm settle
diff --git a/bootscripts/lfs/init.d/udev_retry b/bootscripts/lfs/init.d/udev_retry
index 6a049d465..e44b8afa0 100644
--- a/bootscripts/lfs/init.d/udev_retry
+++ b/bootscripts/lfs/init.d/udev_retry
@@ -29,7 +29,7 @@ case "${1}" in
done
# Re-trigger the failed uevents in hope they will succeed now
- /sbin/udevadm trigger --type=failed
+ /sbin/udevadm trigger --type=failed --action=add
# Now wait for udevd to process the uevents we triggered
/sbin/udevadm settle