From 89fd5a43a6f0e99db12cd5a2bfb2db4095a72350 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Mon, 18 Nov 2019 10:08:21 +0800 Subject: [PATCH] sdm660-common: data-ipa-cfg-mgr: Address ipacm start failure * ipacm pid file is stored at /data/vendor/ipa/ipacm.pid, and the service fails to start if the directory is not accessible. * QCOM uses ipacm-diag.rc to create the directory. Replicate the behavior since we don't necessarily ship that one. * Move to late_start since post-fs is earlier than post-fs-data. Change-Id: I5663e32d202cd8b52de8e8257332be1029c0fe3d Signed-off-by: OdSazib Signed-off-by: pix106 --- data-ipa-cfg-mgr/ipacm/src/ipacm.rc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/data-ipa-cfg-mgr/ipacm/src/ipacm.rc b/data-ipa-cfg-mgr/ipacm/src/ipacm.rc index 6b3bf98d..8a63b46f 100644 --- a/data-ipa-cfg-mgr/ipacm/src/ipacm.rc +++ b/data-ipa-cfg-mgr/ipacm/src/ipacm.rc @@ -25,10 +25,12 @@ # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# msm specific files that need to be created on /data +on post-fs-data + mkdir /data/vendor/ipa 0770 radio radio + chmod 0770 /data/vendor/ipa + service vendor.ipacm /system/vendor/bin/ipacm - class main + class late_start user radio group radio inet - -on post-fs-data - start vendor.ipacm