From 2f108b208bfb3ed5b54d7de25793c61413fec4bd Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 24 Jan 2009 16:21:30 -0600 Subject: Add a manual sleep and rootdelay It seems udev trigger/settle doesn't do what we expect, so we'll add functionality for the rootdelay param back in here. This should help fix FS#12896 Original-idea: Gerhard Brauer Signed-off-by: Aaron Griffin --- archiso/hooks/archiso | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso index f015620..d33e409 100644 --- a/archiso/hooks/archiso +++ b/archiso/hooks/archiso @@ -57,6 +57,10 @@ run_hook () msg ":: Waiting for usb devices to settle..." /sbin/udevadm trigger --subsystem-match=usb /sbin/udevadm settle + if [ "${rootdelay}" != "0" ]; then + /bin/sleep "${rootdelay}" + export rootdelay=0 + fi msg ":: Scanning for boot device..." -- cgit v1.2.3-70-g09d2