[arch-releng] [PATCH] Add a sleep period to settle usb drives
Gerhard Brauer
gerbra at archlinux.de
Sat Jan 24 06:21:33 EST 2009
Hello, maybe this could help us on the usb images...
It's not ideally, but before we have a problem on the 2009.01 usb
images?
Gerhard
A quick fix for 2009.01 on FS#12896. Only work around the problem, does
not be a real solution.
Signed-off-by: Gerhard Brauer <gerbra at archlinux.de>
---
archiso/hooks/archiso | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index f015620..7e4b755 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -80,7 +80,9 @@ run_hook ()
done
if [ ${found} -eq 0 ]; then
- msg ":: Scanning usb drives..."
+ msg ":: Waiting and scanning for usb drives..."
+ # quick fix for FS#12896, we should investgate the udevadm
trigger/settle part above!
+ sleep 8
for usb in /dev/sd[a-z][0-9]; do
[ ! -e "${usb}" ] && continue
if mount -r -t vfat "${usb}" /bootmnt >/dev/null 2>&1 ||\
--
1.6.1
More information about the arch-releng
mailing list