diff options
author | Yu Ning <yu.ning@intel.com> | 2016-01-08 14:51:07 +0800 |
---|---|---|
committer | Yu Ning <yu.ning@intel.com> | 2016-01-08 14:51:32 +0800 |
commit | c1149ff0c33f0a7100428402cc934296d7170e42 (patch) | |
tree | b2849ce6b9c19af49ea191ae1d9e3bf942e9e369 /rootdir | |
parent | a649a7df15617e1e54cc89c2f682a5e6472bf304 (diff) | |
download | core-c1149ff0c33f0a7100428402cc934296d7170e42.tar.gz core-c1149ff0c33f0a7100428402cc934296d7170e42.tar.bz2 core-c1149ff0c33f0a7100428402cc934296d7170e42.zip |
init.rc: Reland "mkdir /data/misc/vold"
Creation of /data/misc/vold was first introduced by commit 25775e8. It
then got reverted, probably inadvertently, by:
commit 2e24bcfdce030d410cbc8e8c8fa3e8c1260ba65d
Author: Paul Lawrence <paullawrence@google.com>
Date: Fri May 22 18:31:55 2015 +0000
Revert "Set up crypto for user directories in init."
This folder is required by vold. In its absence, if one tries to format
an SD card as internal storage, an error will occur, with the following
message printed to logcat:
01-08 06:31:48.389 1002 1069 E vold : Failed to persist key
Restoring /data/misc/vold fixes this bug.
This fix has been verified on the emulator, which currently does not
allow its virtual SD card to be adopted, but another CL will be uploaded
to enable that.
Change-Id: Ibb87ee821630a038a6f9b7b6a9da50fe03ca690d
Signed-off-by: Yu Ning <yu.ning@intel.com>
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index a52d87d02..d322402e4 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -332,6 +332,7 @@ on post-fs-data chmod 0660 /data/misc/wifi/wpa_supplicant.conf mkdir /data/local 0751 root root mkdir /data/misc/media 0700 media media + mkdir /data/misc/vold 0700 root root mkdir /data/misc/boottrace 0771 system shell mkdir /data/misc/update_engine 0700 root root mkdir /data/misc/trace 0700 root root |