Hello Ian,

Uwe, any chance you could try this please:

diff --git a/functions b/functions
index d45a4e6..a7ff6de 100644
--- a/functions
+++ b/functions
@@ -41,7 +41,11 @@ error() {
  mtdblock() {
        local mtdname="$1"

-       sed -rn "s,^mtd([^:]*).*\"$mtdname\"\$,/dev/mtdblock\\1,p" "$PROC_MTD"
+       local dev=`sed -rn "s,^mtd([^:]*).*\"$mtdname\"\$,/dev/mtdblock\\1,p" 
"$PROC_MTD"`
+
+       modprobe -q mtdblock && udevadm settle --exit-if-exists=$dev || :
+
+       echo $dev
I would have added the modprobe call only if the device doesn't exist, but I guess that's only cosmetic.

I just installed flash-kernel 3.30 and as expected this one works fine.

Sorry I didn't come around to test this earlier, I was AFK most of the time around Christmas/new year. Thanks for your work on this bug.

Best regards
Uwe


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54a66e57.8000...@kleine-koenig.org

Reply via email to