This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow /dsp partition labels to be set correctly
AOSP sets selinux contexts on system partitions at build time but our /dsp partition is not built so AOSP does not have the correct selinux context. To fix this we must mount as rw, set our contexts, then remount as ro. Remounting a system partition is ugly, but without this our /dsp partition is seen as unlabled, and requires poor selinux policy that grants 'god mode' to the adsprpcd service. Pixel devices do not require this as their /dsp is actually a symlink to /vendor/lib/dsp.
- Loading branch information
Showing 2 changed files with 6 additions and 1 deletion.