summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2011-09-15 11:33:19 -0700
committerKen Sumrall <ksumrall@android.com>2011-09-15 14:30:08 -0700
commitcb6e1400576c0500979388f8173a55f0680b5783 (patch)
tree4c1389c1e8af6bcb4b24f8270d931c67f08322df
parent517dba011bf6bb3fab98f21f75104d6d2edce8d6 (diff)
downloaddevice_samsung_tuna-cb6e1400576c0500979388f8173a55f0680b5783.zip
device_samsung_tuna-cb6e1400576c0500979388f8173a55f0680b5783.tar.gz
device_samsung_tuna-cb6e1400576c0500979388f8173a55f0680b5783.tar.bz2
Move crypto key storage location for Prime off of /efs
/efs is changing to a read-only filesystem, so the risk of corrupting factory calibration data is much less. That means the key storage for encryption must move. A new bootloader has taken 64 kbytes from the recovery partition and made it into a new metadata partition. There is no filesystem on it, the keys are being stored directly on the block device. Change-Id: Ide27c72cc232949e11f190abedd9ae7342b00142
-rwxr-xr-xinit.tuna.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index c94184d..33564b2 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -28,7 +28,7 @@ on post-fs-data
on boot
mount debugfs /sys/kernel/debug /sys/kernel/debug
chmod 0666 /dev/pvrsrvkm
- setprop ro.crypto.keyfile.userdata /efs/userdata_footer
+ setprop ro.crypto.keyfile.userdata /dev/block/platform/omap/omap_hsmmc.0/by-name/metadata
on fs
mkdir /efs 0775 radio radio