mkliveinitrd: wait for udev queue to clear before killing udevd
udevd doesn't seem to cleanup on kill, so let it clear events from
/dev/.udev/queue/
Or should this be filed as udevd bug (cleanup .udev/queue/ on startup and/or
kill) ?
diff --git a/mkliveinitrd b/mkliveinitrd
index 84fcc80..52b7326 100755
--- a/mkliveinitrd
+++ b/mkliveinitrd
@@ -818,6 +818,10 @@ fi
if [ -x /sysroot$init ] ; then
# Leave initramfs and transition to rootfs
+ if [ "$quiet" != "1" ] ; then
+ echo "waiting for system to settle before $init"
+ fi
+ /sbin/udevsettle --timeout=30 || :
kill `pidof udevd`
if [ "$quiet" != "1" ] ; then
echo "transfering control to $init"
--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list