Build and configure alternative su binary on userdebug
By setting FP2_USE_APPOPS_SU to true the su binary gets built from
vendor/lineage/su, instead of from the default system/extras/su. This
alternative su binary allows for superuser access by applications.
The alternative su binary is configured by defining a system property
persist.sys.root_access with a default value of 0, which leaves the su
daemon disabled. Also override the file system permissions of the
alternative su binary to remove the setuid bit.
Issue: FP2P-458
Change-Id: I1a6de9017bbe81a1ff3077b5b3ae4aac140e8ee1
1 file changed