Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
commit7e21e96a836ba5a4e7b2cca3fe9e0fa750f73a01 (patch)
tree6f854e4ec2e9d2b7bc503f72e6a646caaad43076
parent8c621e7132e01dbf98f05cad2cad6bb85241e773 (diff)
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>
-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..."