Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb6f68c6 authored by Brian Swetland's avatar Brian Swetland
Browse files

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.
parent 1c60e46e
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -17,6 +17,7 @@ loglevel 3


# Backward compatibility
# Backward compatibility
    symlink /system/etc /etc
    symlink /system/etc /etc
    symlink /sys/kernel/debug /d


# create mountpoints and mount tmpfs on sqlite_stmt_journals
# create mountpoints and mount tmpfs on sqlite_stmt_journals
    mkdir /sdcard 0000 system system
    mkdir /sdcard 0000 system system
@@ -163,6 +164,8 @@ on boot
    setprop ro.CONTENT_PROVIDER_MEM 5632
    setprop ro.CONTENT_PROVIDER_MEM 5632
    setprop ro.EMPTY_APP_MEM 6144
    setprop ro.EMPTY_APP_MEM 6144


    mount debugfs /sys/kernel/debug /sys/kernel/debug

# Write value must be consistent with the above properties.
# Write value must be consistent with the above properties.
# Note that the driver only supports 6 slots, so we have HOME_APP at the
# Note that the driver only supports 6 slots, so we have HOME_APP at the
# same memory level as services.
# same memory level as services.