From e8b59e0d4e92debe18148e114b9976fd2cc9c2dd Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Wed, 10 Sep 2014 09:10:30 +0530 Subject: init: Add setup_fs service for userdata * Used for formatting data after unlock, as the userdata partition is zeroed out after unlock, but a filesystem isn't created. Change-Id: I17aba9ed9778431e48f9605d10a7fde8be9b7b86 --- rootdir/init.qcom.rc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rootdir') diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 00ac561..a6c45f2 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -593,6 +593,13 @@ service time_daemon /system/bin/time_daemon user root group root radio qcom_diag +# create filesystem if necessary +service setup_fs /system/bin/setup_fs /dev/block/platform/msm_sdcc.1/by-name/userdata + class core + user root + group root + oneshot + on property:init.svc.surfaceflinger=running start ppd -- cgit v1.2.3