View Single Post
  #2809 (permalink)  
Old 06-12-2010, 11:07 AM
peterm20's Avatar
peterm20
PPCGeeks Regular
Offline
Location: SE Kansas
 
Join Date: May 2008
Posts: 162
Reputation: 185
peterm20 is keeping up the good workpeterm20 is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Linux/Android on CDMA Touch Pro -- Now working on Verizon! And with GPS!

Quote:
Originally Posted by makkonen View Post
I am getting it, and I know why. the init is a mess. I was playing around with it earlier tonight, but it put me to sleep, so I didn't get a fix together.

peterm, are you seeing a problem in the boot logs with 'mkdir -m'? I'm noticing that having trouble, as well as chown. I see you switched all the chown to chown/chgrp pairs -- have to see if that fixes things.

I'm also noticing that even though the initramfs claims to load the rootfs as read-only, it's getting written to by commands in the init script, and these persist. I must be missing something there.

Edit: Bleh. Now I can't get it to boot loop. So weird.

Edit2: Oh, right. Gotta delete the cache folder, too, or it won't go into the boot loop. WTF, init script.

Edit3: It does seem your patch fixes the boot loop. The chown commands still throw a bunch of errors, though. Which is really bugging me.
I posted it on the XDA side too don't know if it will get committed, Im thinking the user 1002 is missing from the /etc/shadow / /etc/passwd files so the chgrp works but chown doesn't.
I'll keep messing with the permissions to see if I can figure out the other errors.
__________________
Sprint Touch Pro (Ralph800) - (2.01.651MR)/1.12.34F
Android: XDANDROID-5-31-10/gps rootfs update
XDAdroid Fan page

Last edited by peterm20; 06-12-2010 at 11:09 AM.
Reply With Quote