summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorChing Tzung Lin <ctlin@google.com>2016-01-11 13:00:22 -0800
committerChing Tzung Lin <ctlin@google.com>2016-01-11 13:00:22 -0800
commitdf2d78236834f5f6a99e88c8cd629b09d8292bb6 (patch)
tree3164827650ddda1306a22d16d6caed078c75a178 /rootdir
parent2f18b5450293c2360f688cd059989e36ba5a988c (diff)
downloadsystem_core-df2d78236834f5f6a99e88c8cd629b09d8292bb6.zip
system_core-df2d78236834f5f6a99e88c8cd629b09d8292bb6.tar.gz
system_core-df2d78236834f5f6a99e88c8cd629b09d8292bb6.tar.bz2
Mount debugfs earlier regardless build variant
ag/835596 can be reverted after this CL is merged. BUG:26455292 Change-Id: I453b0f1d08d822f8cd2d4d33f1c1b21f0d7f543a
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index e218307..70a75bd 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -18,6 +18,8 @@ on early-init
# Set the security context of /adb_keys if present.
restorecon /adb_keys
+ mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755
+
start ueventd
on init