init.rc: mount debugfs for debugging

- put it at /sys/kernel/debug so Arve will be happy
- symlink /d to /sys/kernel/debug so Brian will be happy.
This commit is contained in:
Brian Swetland 2009-09-18 15:31:23 -07:00
parent 1c60e46e0e
commit bb6f68c63d

View file

@ -17,6 +17,7 @@ loglevel 3
# Backward compatibility
symlink /system/etc /etc
symlink /sys/kernel/debug /d
# create mountpoints and mount tmpfs on sqlite_stmt_journals
mkdir /sdcard 0000 system system
@ -163,6 +164,8 @@ on boot
setprop ro.CONTENT_PROVIDER_MEM 5632
setprop ro.EMPTY_APP_MEM 6144
mount debugfs /sys/kernel/debug /sys/kernel/debug
# Write value must be consistent with the above properties.
# Note that the driver only supports 6 slots, so we have HOME_APP at the
# same memory level as services.