R-Car/Boards/Yocto-Gen3-CommonFAQ/How to change SELinux to permissive on Android BSP

From eLinux.org
< R-Car‎ | Boards/Yocto-Gen3-CommonFAQ
Revision as of 20:04, 21 December 2020 by Y.H. (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to change SELinux to permissive on Android BSP

# Turn on the device and interrupt autoboot using minicom. 
# Edit environment variable: 
=> editenv bootargs 
# Set selinux to permissive: 
androidboot.selinux=permissive 
# Save changes: 
=> saveenv

How to confirm current SELinux state:

console:/ $ getenforce