klte-common: Mount debugfs on early-init

This was previously removed in commit 1b54691
due to the fact that it was mounted in the global init.rc in Android 6.0.

In Android 7.0 however, this is no longer the case.
Hence, revive the mount.

Change-Id: I15b9571db4dd07a19b298a670f9ce6db1c4eeb63
This commit is contained in:
Zhao Wei Liew 2016-09-25 17:34:37 +08:00 committed by Kevin F. Haggerty
parent 2b078a3fde
commit e0768ac083
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ import init.target.rc
on early-init
export LD_SHIM_LIBS "/system/lib/libril.so|libril_shim.so:/system/vendor/lib/libwvm.so|libshim_wvm.so"
mount debugfs debugfs /sys/kernel/debug
chmod 0755 /sys/kernel/debug
# Increase max readahead size to 512 KB
write /sys/block/mmcblk0/queue/read_ahead_kb 512
write /sys/block/mmcblk0/queue/scheduler noop