aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-09-25 17:34:37 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2016-10-12 22:31:34 +0800
commit55af8f2ca7c492cfca733d0209c485837e30a2ca (patch)
tree65ad6c749c242a90a0db83ee98f966c8d0191125
parente2360c536dc4d18a069eebb78221d6f6c4d582ab (diff)
msm8916: Mount debugfs on early-init
This was previously removed in commit 7a9eb6b599bb15e90d248f479e98cf305686b47c 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
-rw-r--r--rootdir/etc/init.qcom.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index e5d5e41..48bfda8 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -35,6 +35,9 @@ on early-init
mkdir /system 0777 root root
symlink /data/tombstones /tombstones
+ mount debugfs debugfs /sys/kernel/debug
+ chmod 0755 /sys/kernel/debug
+
# Turn off backlight on blank
write /sys/class/leds/lcd-backlight/trigger "backlight"