diff options
| author | Brian Carlstrom <bdc@google.com> | 2010-04-06 15:31:23 -0700 |
|---|---|---|
| committer | Brian Carlstrom <bdc@google.com> | 2010-04-06 15:31:23 -0700 |
| commit | a68049a8cc3f1eacda1e27b2040af73f6faa42ab (patch) | |
| tree | 31082e1546f81eb8be2380deab97c59ac51914b8 /rootdir/init.rc | |
| parent | b99a099cad7066274b25de9d603e7ced37d20e19 (diff) | |
| parent | 7c19bbe086b3cd81499829c0a79ed0ed0ae4fb16 (diff) | |
| download | system_core-a68049a8cc3f1eacda1e27b2040af73f6faa42ab.tar.gz system_core-a68049a8cc3f1eacda1e27b2040af73f6faa42ab.tar.bz2 system_core-a68049a8cc3f1eacda1e27b2040af73f6faa42ab.zip | |
Merge remote branch 'goog/froyo' into mm
Diffstat (limited to 'rootdir/init.rc')
| -rw-r--r-- | rootdir/init.rc | 55 |
1 files changed, 30 insertions, 25 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 34302618..63769f5a 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -12,7 +12,8 @@ loglevel 3 export ANDROID_ROOT /system export ANDROID_ASSETS /system/app export ANDROID_DATA /data - export EXTERNAL_STORAGE /sdcard + export EXTERNAL_STORAGE /mnt/sdcard + export ASEC_MOUNTPOINT /mnt/asec export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar # Backward compatibility @@ -20,15 +21,35 @@ loglevel 3 symlink /sys/kernel/debug /d # create mountpoints - mkdir /sdcard 0000 system system + mkdir /mnt 0775 root system + mkdir /mnt/sdcard 0000 system system + +# Create cgroup mount point for cpu accounting + mkdir /acct + mount cgroup none /acct cpuacct + mkdir /acct/uid + +# Backwards Compat - XXX: Going away in G* + symlink /mnt/sdcard /sdcard + mkdir /system mkdir /data 0771 system system mkdir /cache 0770 system cache mkdir /config 0500 root root -# create Android Secure External Cache mount tree - mkdir /asec 0700 system system - mount tmpfs tmpfs /asec mode=0755 + # Directory for putting things only root should see. + mkdir /mnt/secure 0700 root root + + # Directory for staging bindmounts + mkdir /mnt/secure/staging 0700 root root + + # Directory-target for where the secure container + # imagefile directory will be bind-mounted + mkdir /mnt/secure/asec 0700 root root + + # Secure container public mount points. + mkdir /mnt/asec 0700 root system + mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000 mount rootfs rootfs / ro remount @@ -104,6 +125,7 @@ loglevel 3 # create basic filesystem structure mkdir /data/misc 01771 system misc mkdir /data/misc/bluetoothd 0770 bluetooth bluetooth + mkdir /data/misc/bluetooth 0770 system system mkdir /data/misc/keystore 0700 keystore keystore mkdir /data/misc/vpn 0770 system system mkdir /data/misc/systemkeys 0700 system system @@ -119,13 +141,6 @@ loglevel 3 mkdir /data/app 0771 system system mkdir /data/property 0700 root root - # STOPSHIP: Temporary Encrypted File Systems workaround - mkdir /data/secure 0771 system system - mkdir /data/secure/data 0771 system system - mkdir /data/secure/misc 01771 system misc - mkdir /data/securemisc/vpn 0770 system system - mkdir /data/secure/misc/vpn/profiles 0770 system system - # create dalvik-cache and double-check the perms mkdir /data/dalvik-cache 0771 system system chown system system /data/dalvik-cache @@ -264,17 +279,11 @@ service servicemanager /system/bin/servicemanager service vold /system/bin/vold socket vold stream 0660 root mount + ioprio be 2 service netd /system/bin/netd socket netd stream 0660 root system -service nexus /system/bin/nexus - socket nexus stream 0660 root system - disabled - -#service mountd /system/bin/mountd -# socket mountd stream 0660 root mount - service debuggerd /system/bin/debuggerd service ril-daemon /system/bin/rild @@ -291,12 +300,8 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys service media /system/bin/mediaserver user media - group system audio camera graphics inet net_bt net_bt_admin - -service bootsound /system/bin/playmp3 - user media - group audio - oneshot + group system audio camera graphics inet net_bt net_bt_admin net_raw + ioprio rt 4 service bootanim /system/bin/bootanimation user graphics |
