SVN: geninitrd/trunk/geninitrd

glen glen at pld-linux.org
Sun Nov 16 20:06:05 CET 2008


Author: glen
Date: Sun Nov 16 20:06:04 2008
New Revision: 9993

Modified:
   geninitrd/trunk/geninitrd
Log:
- kill udevd as last, so cryptsetup doesn't get timeouts

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Sun Nov 16 20:06:04 2008
@@ -1154,6 +1154,9 @@
 		/sbin/udevadm settle
 	EOF
 
+}
+
+initrd_gen_stop_udevd() {
 	busybox_applet killall
 	add_linuxrc	<<-'EOF'
 		killall udevd
@@ -2190,6 +2193,10 @@
 # additional devs always needed
 [ ! -e "$DESTDIR/$rootdev_add" ] && inst $rootdev_add /dev
 
+if is_yes "$USE_UDEV"; then
+	initrd_gen_stop_udevd
+fi
+
 if [ "$INITRDFS" = "initramfs" ]; then
 	initrd_gen_initramfs_switchroot
 else


More information about the pld-cvs-commit mailing list