View Single Post
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#725
Originally Posted by peterleinchen View Post
Hi pali,

I am updating my device a bit and also installed latest u-boot (bootimg and tools). On bootimg everything went smooth, but after tools I got some weird error.

Weird, as I never repartitioned my p1 and it is still stock partitioned vfat.

So I investigated a bit and it seems there is a small glitch in update enu script. It will only be noticed when you have easy debian mounted and/or another loop device pointing to a file on MyDocs.
I have both

Easy to solve:
just change line
Code:
type=$(mount | grep "$BOOTMENU_EMMC_DIR" | sed 's/.*type //;s/ .*//')
to
Code:
type=$(mount | grep " $BOOTMENU_EMMC_DIR " | sed 's/.*type //;s/ .*//')
Thought I let you know.

--
reason is that "mount" will give two/three outputs for "/home/user/MyDocs":
/home/user/MyDocs
.debian/home/user/MyDocs
/home/user/MyDocs/myLoopDevice
so type ends in "vfat vfat vfat"
Fixed in git: https://gitorious.org/u-boot-shr/u-b...4ad7caaaa62d33
 

The Following 5 Users Say Thank You to pali For This Useful Post: