diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-24 16:21:30 -0600 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-24 16:21:30 -0600 |
commit | 2f108b208bfb3ed5b54d7de25793c61413fec4bd (patch) | |
tree | 55a3c440e5db8c9d5ad4cd218581563c090cae16 | |
parent | c491bbd71a7c2c1a83787458203326dd4d261578 (diff) | |
download | archiso32-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>
-rw-r--r-- | archiso/hooks/archiso | 4 |
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..." |