sm8250-common: Disable /odm overlays

* We don't want OnePlus overlays, instead we'll just
  modify required modules manually.
This commit is contained in:
LuK1337 2020-11-19 23:06:12 +01:00
parent b512e01c6d
commit a0d9c9cb9d
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,6 @@
on post-fs
mount none /odm/lost+found /odm/overlay bind
on boot
# Fingerprint
chown system system /sys/devices/platform/soc/soc:goodix_fp/proximity_state

View file

@ -1,6 +1,9 @@
# Allow init to mount vendor configs
allow init vendor_configs_file:dir mounton;
# Allow init to mount vendor overlays
allow init vendor_overlay_file:dir mounton;
# Allow init to chown/chmod on pseudo files in /sys
allow init {
sysfs_fod