Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2008-04-02 20:29:01 -0500
committerSimo Leone <simo@archlinux.org>2008-04-02 20:29:01 -0500
commit81e9aa8bc6f3961b8e313419f73d286cadaf9c7d (patch)
treefa21e47b29795afa9abce26a03ac33a6cda70610 /hooks
parentbc839ac0e577d00aca5c18d18e17b60fcf43ce91 (diff)
Add USB modules to boot-cd hooks
This should allow the disk to find itself on external CD-ROM drives. Signed-off-by: Simo Leone <simo@archlinux.org>
Diffstat (limited to 'hooks')
-rw-r--r--hooks/boot-cd6
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/boot-cd b/hooks/boot-cd
index 1773023..1670c6b 100644
--- a/hooks/boot-cd
+++ b/hooks/boot-cd
@@ -1,5 +1,11 @@
run_hook ()
{
+ # external drives may need to settle
+ msg ":: Waiting for usb devices to settle..."
+ /sbin/udevtrigger --subsystem-match=usb
+ /sbin/udevsettle
+ sleep 5
+
msg ":: Scanning for boot cdrom device..."
/bin/mkdir -p /bootmnt