Author: bryan Date: 2010-04-20 22:22:02 -0600 (Tue, 20 Apr 2010) New Revision: 9256
Modified: trunk/BOOK/bootscripts/ChangeLog trunk/BOOK/bootscripts/lfs/init.d/udev trunk/BOOK/bootscripts/lfs/init.d/udev_retry Log: Use --action=add on udevtrigger calls, to handle udev-152 and newer that send "change" events by default. Modified: trunk/BOOK/bootscripts/ChangeLog =================================================================== --- trunk/BOOK/bootscripts/ChangeLog 2010-04-21 03:37:07 UTC (rev 9255) +++ trunk/BOOK/bootscripts/ChangeLog 2010-04-21 04:22:02 UTC (rev 9256) @@ -1,3 +1,8 @@ +2010-04-20 Bryan Kadzban <[email protected]> + * 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 <[email protected]> * lfs/init.d/udev: Check to see if /dev is already mounted, as it may be if under an initramfs environment. See ticket #2550. Modified: trunk/BOOK/bootscripts/lfs/init.d/udev =================================================================== --- trunk/BOOK/bootscripts/lfs/init.d/udev 2010-04-21 03:37:07 UTC (rev 9255) +++ trunk/BOOK/bootscripts/lfs/init.d/udev 2010-04-21 04:22:02 UTC (rev 9256) @@ -62,7 +62,7 @@ # 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 Modified: trunk/BOOK/bootscripts/lfs/init.d/udev_retry =================================================================== --- trunk/BOOK/bootscripts/lfs/init.d/udev_retry 2010-04-21 03:37:07 UTC (rev 9255) +++ trunk/BOOK/bootscripts/lfs/init.d/udev_retry 2010-04-21 04:22:02 UTC (rev 9256) @@ -29,7 +29,7 @@ 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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
