do not mount the debugfs on user builds am: 254e03a21c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14310449 Change-Id: I50cbb04804aa392e3977bf61af9c54533995e6ab
This commit is contained in:
commit
13b4ecb8af
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"
|
||||
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# Factory specific init.rc
|
||||
|
||||
on early-init
|
||||
mount debugfs /sys/kernel/debug /sys/kernel/debug
|
||||
|
||||
on init
|
||||
export PATH /product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin:/vendor/bin/factory
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@ service vendor.charger /system/bin/charger
|
|||
file /proc/last_kmsg r
|
||||
|
||||
on early-init
|
||||
mount debugfs /sys/kernel/debug /sys/kernel/debug
|
||||
mount_all /vendor/etc/fstab.persist --early
|
||||
|
||||
on init
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue