View Single Post
  #1604 (permalink)  
Old 03-10-2011, 11:59 AM
[ACL]'s Avatar
[ACL]
VIP Member
Offline
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-08: Full NAND FRX05 Testing (Data not working for some)

Quote:
Originally Posted by Lmiller1708 View Post
Looks great!

Nate did you get a chance to test my MTDparts last night?

Also I can try to add a patch to for the replimenu.

Questions:
1. How are we going to add the ln -s data/ppp etc/ppp?

2. Permissions? We can just use the script the Vogue team has used, but we will need to change a couple of things around to fit our needs. I'm going to work more on this today.

EDIT: Permissions File so far...
Code:
#Data
set_perm 1000 1000 0771 /data/app
set_perm_recursive 1000 1000 0644 0644 /data/app
set_perm_recursive 0 0 0777 0777 /data/modules
set_perm_recursive 0 2000 0755 0755 /data/ppp

#System
set_perm_recursive 0 0 0755 0644 /system
set_perm 1002 1002 0444 /system/etc/dbus.conf
set_perm 0 0 0700 /system/init
set_perm_recursive 0 2000 0755 0755 /system/bin
set_perm_recursive 0 2000 0755 0755 /system/xbin
set_perm 0 0 04755 /system/bin/pppd
set_perm 0 0 04755 /system/bin/su
set_perm 0 3003 02755 /system/bin/netcfg
set_perm 0 3004 02755 /system/bin/ping
set_perm 1014 2000 0550 /system/etc/dhcpcd/dhcpcd-run-hooks
These Functions are being called:
Code:
set_perm() {
    chown $1:$2 $4
    chmod $3 $4
}

set_perm_recursive() {
    chown -R $1:$2 $5
    chmod -R $3:$4 $5
}
Well, we could try to figure out why the damn current link is getting trashed. Remember we have tons of links that android handles and they are all fine, so for 1 link to fail makes no sense. For now just either do it in the install script or the first-time.sh script inside system that gets executed once right after install. The initrd is already set for this so you can test that script out if you wish.

nate: i saw the kb commit.. i copied it to the download locations for the masses to enjoy.

edit: Also i do like your script so we can add that wherever we decide on the data/ppp link.
__________________

Last edited by [ACL]; 03-10-2011 at 12:09 PM.
Reply With Quote
This post has been thanked 1 times.