do not mount the debugfs on user builds
keep debugfs on userdebug and factory builds Bug: 184801854 Change-Id: I6b4b7428b011a87a93d48af63f8dafc2c5d96e23 Signed-off-by: Aaron Ding <aaronding@google.com>
This commit is contained in:
parent
0278f84cf8
commit
254e03a21c
3 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
on early-init
|
||||
mount debugfs /sys/kernel/debug /sys/kernel/debug
|
||||
|
||||
on property:vendor.debug.ramdump.force_crash=true
|
||||
write /sys/kernel/pixel_debug/trigger "null"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue