summaryrefslogtreecommitdiffstats
path: root/init.aries.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.aries.rc')
-rw-r--r--init.aries.rc24
1 files changed, 15 insertions, 9 deletions
diff --git a/init.aries.rc b/init.aries.rc
index a935f38..a9bcc64 100644
--- a/init.aries.rc
+++ b/init.aries.rc
@@ -17,6 +17,7 @@ on init
symlink /storage/sdcard1 /emmc
symlink /storage/sdcard1 /mnt/emmc
# FIXME: Remove emmc?
+ mkdir /datadata 0771 system system
# We will create our own ril-daemon service in class 'core' because the
# rild doesn't like being killed. (During device encryption.)
@@ -39,10 +40,13 @@ on boot
setprop ro.telephony.call_ring.multiple 0
on fs
+# LVM: set up LVM volumes
+ exec /lvm/sbin/lvm vgscan --mknodes --ignorelockingfailure
+ exec /lvm/sbin/lvm vgchange -aly --ignorelockingfailure
+
mkdir /radio 0775 radio radio
mount yaffs2 mtd@radio /radio
- # We don't support encryption on yaffs (set before mount_all)
- setprop ro.crypto.state unsupported
+ mount yaffs2 mtd@datadata /datadata
mount_all fstab.aries
chown radio radio /radio/modem.bin
@@ -69,6 +73,9 @@ on fs
chmod 660 /sys/class/sec/uart_switch/UART_SEL/value
on post-fs
+ chown system system /datadata
+ chmod 0771 /datadata
+
#symlinks for samsung RIL
symlink /radio/modem.bin /dev/block/bml12
@@ -84,17 +91,16 @@ on post-fs
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
on post-fs-data
+ # for migrating download provider's cache out of the small /data/data
+ mkdir /data/data2 0771 system system
+
+ # setup datadata
+ exec /sbin/setupdatadata.sh
+
# wi-fi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/dhcp 0770 dhcp dhcp
- # Dalvik cache on /system to save space
- mkdir /system/dalvik-cache 0771 system system
- chown system system /system/dalvik-cache
- chmod 0771 /system/dalvik-cache
- exec /system/bin/rm -r /data/dalvik-cache
- symlink /system/dalvik-cache /data/dalvik-cache
-
# download cache
mkdir /data/download 0770 system cache