From 5700a33011b800db09e4b0bbb10edff982715c3f Mon Sep 17 00:00:00 2001 From: Rajesh Yadav Date: Thu, 11 May 2017 00:15:05 +0530 Subject: [PATCH] Add display file creation rules Change-Id: I794631f9e624b7a829abb2e7249d3c9309735ca2 --- rootdir/etc/init.qcom.rc | 3 --- vendor/etc/init.qcom.vendor.rc | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 16a43f6b..78f806dd 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -256,9 +256,6 @@ on post-fs-data # Create directory used by the DASH client mkdir /data/misc/dash 0770 media audio - # Create directory used by display clients - mkdir /data/misc/display 0770 system graphics - # Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections # We chown/chmod /persist again so because mount is run as root + defaults chown root system /persist diff --git a/vendor/etc/init.qcom.vendor.rc b/vendor/etc/init.qcom.vendor.rc index 40397035..a7f84f16 100644 --- a/vendor/etc/init.qcom.vendor.rc +++ b/vendor/etc/init.qcom.vendor.rc @@ -48,12 +48,18 @@ on post-fs on post-fs-data # Add on post-fs-data events here + # Create directory used by display clients + mkdir /data/vendor/display 0770 system graphics + on early-boot # Add on early-boot events here on boot # Add on boot events here + # Create directory used for display + mkdir /persist/display 0770 system graphics + # Add Vendor service definitions, triggers from here on.