summaryrefslogtreecommitdiff
path: root/archiso/hooks
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-01-24 16:21:30 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2009-01-24 16:21:30 -0600
commit2f108b208bfb3ed5b54d7de25793c61413fec4bd (patch)
tree55a3c440e5db8c9d5ad4cd218581563c090cae16 /archiso/hooks
parentc491bbd71a7c2c1a83787458203326dd4d261578 (diff)
downloadarchiso32-2f108b208bfb3ed5b54d7de25793c61413fec4bd.tar.xz
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 <gerbra@archlinux.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso/hooks')
-rw-r--r--archiso/hooks/archiso4
1 files changed, 4 insertions, 0 deletions
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..."