msm8937-common: Add display file creation rules

Change-Id: I794631f9e624b7a829abb2e7249d3c9309735ca2
This commit is contained in:
Rajesh Yadav 2017-05-11 00:15:05 +05:30 committed by Isaac Chen
parent 0ab6c20da2
commit ac29a09f9f

View file

@ -83,6 +83,7 @@ on boot
mkdir /dev/socket/qmux_gps 0770 gps gps mkdir /dev/socket/qmux_gps 0770 gps gps
chmod 2770 /dev/socket/qmux_gps chmod 2770 /dev/socket/qmux_gps
mkdir /persist/display 0770 system graphics
mkdir /persist/drm 0770 system system mkdir /persist/drm 0770 system system
mkdir /persist/bluetooth 0770 bluetooth bluetooth mkdir /persist/bluetooth 0770 bluetooth bluetooth
mkdir /persist/misc 0770 system system mkdir /persist/misc 0770 system system
@ -141,6 +142,9 @@ on boot
# msm specific files that need to be created on /data # msm specific files that need to be created on /data
on post-fs-data on post-fs-data
# Create directory used by display clients
mkdir /data/vendor/display 0770 system graphics
#Create directories for Fingerprint #Create directories for Fingerprint
mkdir /data/misc/stargate 0770 system system mkdir /data/misc/stargate 0770 system system
mkdir /data/misc/stargate/bg_estimation 0770 system system mkdir /data/misc/stargate/bg_estimation 0770 system system
@ -189,9 +193,6 @@ on post-fs-data
mkdir /data/misc/audio/acdbdata 0770 media audio mkdir /data/misc/audio/acdbdata 0770 media audio
mkdir /data/misc/audio/acdbdata/delta 0770 media audio mkdir /data/misc/audio/acdbdata/delta 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 # 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 # We chown/chmod /persist again so because mount is run as root + defaults
chown root system /persist chown root system /persist