View Single Post
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#723
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.
Originally Posted by pali View Post
This looks like your first eMMC partition (MyDocs) is not valid fat, ext2 or ext4.
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"
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-07-23 at 22:41. Reason: forgot reason/explanation
 

The Following 6 Users Say Thank You to peterleinchen For This Useful Post: