Merge "Writes cpu variant information to dev/"
This commit is contained in:
commit
cfd0b6c19d
1 changed files with 6 additions and 0 deletions
|
|
@ -269,6 +269,12 @@ on init
|
||||||
# that they can be chown'd to system:system later on boot
|
# that they can be chown'd to system:system later on boot
|
||||||
write /sys/class/leds/vibrator/trigger "transient"
|
write /sys/class/leds/vibrator/trigger "transient"
|
||||||
|
|
||||||
|
# This is used by Bionic to select optimized routines.
|
||||||
|
write /dev/cpu_variant:${ro.bionic.arch} ${ro.bionic.cpu_variant}
|
||||||
|
chmod 0444 /dev/cpu_variant:${ro.bionic.arch}
|
||||||
|
write /dev/cpu_variant:${ro.bionic.2nd_arch} ${ro.bionic.2nd_cpu_variant}
|
||||||
|
chmod 0444 /dev/cpu_variant:${ro.bionic.2nd_arch}
|
||||||
|
|
||||||
# Setup APEX mount point and its security context
|
# Setup APEX mount point and its security context
|
||||||
mount tmpfs tmpfs /apex nodev noexec nosuid
|
mount tmpfs tmpfs /apex nodev noexec nosuid
|
||||||
chmod 0755 /apex
|
chmod 0755 /apex
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue