mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
init: Resolve kernel trace_marker permissions on post-fs
* The permissions were not set to 222 instead of 220, thus introducing regular logs from libcutils: "cutils-trace: Error opening trace file: Permission denied (13)" * Refers to frameworks/native/cmds/atrace/atrace.rc Change-Id: I236ea25d2f2068f9f86a43492807f5f05e92da96
This commit is contained in:
parent
e0ecace31f
commit
94ac4fda28
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ on fs
|
|||
# Adaptive LMK
|
||||
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
|
||||
write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059
|
||||
|
||||
on post-fs
|
||||
# Allow writing to the kernel trace log.
|
||||
chmod 0222 /sys/kernel/debug/tracing/trace_marker
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
|
||||
|
|
Loading…
Reference in a new issue