* Just bind mount gps.conf to gps_debug.conf
We can't directly build gps_debug.conf because it's a common target
and we're not allowed to override targets anymore.
* Allow the bind mount in SEPolicy
Change-Id: Ia3c96665b50b0fe478e44186d1c65be723acbf5a
# Fingerprint
mkdir /dev/validity 0770 system system
+# GnssConfiguration doesn't actually look at gps.conf, just the debug file
+ mount none /system/etc/gps.conf /system/etc/gps_debug.conf bind
+
# create data/gps for GPS daemon
chown root system /dev/ttySAC0
chmod 0660 /dev/ttySAC0
# Mount CPEFS on /cpefs
allow init sec_efs_file:dir mounton;
+# Allow init to bind mount over system files
+allow init system_file:file mounton;
+
# /dev/block/mmcblk0p[0-9]
allow init emmcblk_device:blk_file rw_file_perms;