diff options
author | Ken Sumrall <ksumrall@android.com> | 2011-07-14 11:29:11 -0700 |
---|---|---|
committer | Ken Sumrall <ksumrall@android.com> | 2011-07-15 20:17:15 -0700 |
commit | c256e5a31871c5e09342a795fe4a8aed044a20ab (patch) | |
tree | 35132a3260435bb6be80b8ea2256aadd7075ec90 /init.tuna.rc | |
parent | a1fafcd3f89cacd9b96c077d988210b1887d3cd2 (diff) | |
download | device_samsung_tuna-c256e5a31871c5e09342a795fe4a8aed044a20ab.tar.gz device_samsung_tuna-c256e5a31871c5e09342a795fe4a8aed044a20ab.tar.bz2 device_samsung_tuna-c256e5a31871c5e09342a795fe4a8aed044a20ab.zip |
Fixes for crypto on Prime
Keep the keys in a file on /efs instead of in the footer, and set the
userdata filesystem size to the full size of the partition.
Having a writable persistent filesystem besides /data makes things
much cleaner. Keeping keys in the footer requires lots of co-ordination
among many pieces to make sure they don't overwrite the footer with
a new filesystem. In particular, setup_fs doesn't yet know how to
not overwrite the footer.
Also properly notify vold when the post-fs-data action is done.
Change-Id: Ia67144d25630d86a3018419bff735e1395a85a7a
Diffstat (limited to 'init.tuna.rc')
-rwxr-xr-x | init.tuna.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc index b42b98f..99ef510 100755 --- a/init.tuna.rc +++ b/init.tuna.rc @@ -15,6 +15,8 @@ on post-fs-data mkdir /data/misc/dhcp 0770 dhcp dhcp chown dhcp dhcp /data/misc/dhcp + setprop vold.post_fs_data_done 1 + # LTE chown radio system /sys/devices/platform/switch-sio/usb_sel chown radio system /sys/devices/platform/switch-sio/uart_sel @@ -22,6 +24,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 on fs mkdir /efs 0775 radio radio |