From 2861776e7a49234dfd842eb0ae5e199a8e57b499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Silva?= Date: Tue, 18 Oct 2011 17:20:24 -0300 Subject: [PATCH] Added missing PHONE_STORAGE environment variable and symlink /emmc. Change-Id: Ib406ea369bd933d9b27381553c53edb6f73f20d1 --- init.rc | 2 ++ lpm.rc | 3 +++ recovery.rc | 1 + 3 files changed, 6 insertions(+) diff --git a/init.rc b/init.rc index 34bdb98..5d95429 100644 --- a/init.rc +++ b/init.rc @@ -17,6 +17,7 @@ loglevel 3 export ANDROID_DATA /data export DOWNLOAD_CACHE /cache/download export EXTERNAL_STORAGE /mnt/sdcard + export PHONE_STORAGE /mnt/emmc export ASEC_MOUNTPOINT /mnt/asec export LOOP_MOUNTPOINT /mnt/obb export SD_EXT_DIRECTORY /sd-ext @@ -42,6 +43,7 @@ loglevel 3 # Backwards Compat - XXX: Going away in G* symlink /mnt/sdcard /sdcard + symlink /mnt/emmc /emmc mkdir /system mkdir /data 0771 system system diff --git a/lpm.rc b/lpm.rc index 95cbe1f..2cc5bde 100644 --- a/lpm.rc +++ b/lpm.rc @@ -8,11 +8,14 @@ on init export ANDROID_ROOT /system export ANDROID_DATA /data export EXTERNAL_STORAGE /mnt/sdcard + export PHONE_STORAGE /mnt/emmc symlink /system/etc /etc mkdir /mnt 0775 root system mkdir /mnt/sdcard 0000 system system + mkdir /mnt/emmc 0000 system system symlink /mnt/sdcard /sdcard + symlink /mnt/emmc /emmc mkdir /preload mkdir /system diff --git a/recovery.rc b/recovery.rc index 1e9edc8..13d5e40 100644 --- a/recovery.rc +++ b/recovery.rc @@ -6,6 +6,7 @@ on init export ANDROID_ROOT /system export ANDROID_DATA /data export EXTERNAL_STORAGE /sdcard + export PHONE_STORAGE /emmc symlink /system/etc /etc