r8543 - in trunk/bootscripts: . lfs/init.d

bryan at linuxfromscratch.org bryan at linuxfromscratch.org
Thu May 22 16:53:18 PDT 2008


Author: bryan
Date: 2008-05-22 17:53:18 -0600 (Thu, 22 May 2008)
New Revision: 8543

Modified:
   trunk/bootscripts/ChangeLog
   trunk/bootscripts/lfs/init.d/udev
   trunk/bootscripts/lfs/init.d/udev_retry
Log:
Replace udevtrigger and udevsettle with "udevadm trigger" and "udevadm settle", for udev-122.


Modified: trunk/bootscripts/ChangeLog
===================================================================
--- trunk/bootscripts/ChangeLog	2008-05-19 23:50:01 UTC (rev 8542)
+++ trunk/bootscripts/ChangeLog	2008-05-22 23:53:18 UTC (rev 8543)
@@ -1,3 +1,6 @@
+2008-05-21	Bryan Kadzban	<bryan at linuxfromscratch.org>
+	* lfs/init.d/udev, lfs/init.d/udev_retry: Use new udevadm program.
+
 2007-08-20	DJ Lucas <dj at linuxfromscratch.org>
 	* lfs/init.d/setclock: Added missing 'stop' argument to usage text
 

Modified: trunk/bootscripts/lfs/init.d/udev
===================================================================
--- trunk/bootscripts/lfs/init.d/udev	2008-05-19 23:50:01 UTC (rev 8542)
+++ trunk/bootscripts/lfs/init.d/udev	2008-05-22 23:53:18 UTC (rev 8543)
@@ -60,10 +60,10 @@
 
 		# Now traverse /sys in order to "coldplug" devices that have
 		# already been discovered
-		/sbin/udevtrigger
+		/sbin/udevadm trigger
 
 		# Now wait for udevd to process the uevents we triggered
-		/sbin/udevsettle
+		/sbin/udevadm settle
 		evaluate_retval
 
 		;;

Modified: trunk/bootscripts/lfs/init.d/udev_retry
===================================================================
--- trunk/bootscripts/lfs/init.d/udev_retry	2008-05-19 23:50:01 UTC (rev 8542)
+++ trunk/bootscripts/lfs/init.d/udev_retry	2008-05-22 23:53:18 UTC (rev 8543)
@@ -29,10 +29,10 @@
 		done
 
 		# Re-trigger the failed uevents in hope they will succeed now
-		/sbin/udevtrigger --retry-failed
+		/sbin/udevadm trigger --retry-failed
 		
 		# Now wait for udevd to process the uevents we triggered
-		/sbin/udevsettle
+		/sbin/udevadm settle
 		evaluate_retval
 		;;
 




More information about the lfs-book mailing list