[arch-releng] [PATCH] Add a sleep period to settle usb drives
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@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
On Sat, Jan 24, 2009 at 5:21 AM, Gerhard Brauer <gerbra@archlinux.de> wrote:
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?
I pushed an alternate patch that uses the rootdelay kernel param. This should fix the problem at a more-configurable level.
participants (2)
-
Aaron Griffin
-
Gerhard Brauer