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

Commit 64ee4a6b authored by T.J. Mercier's avatar T.J. Mercier
Browse files

init: Remove /acct

The cpuacct controller has not been mounted at /acct since 2018 with
commit 192aee78 ("libprocessgroup: Add support for task profiles").

Test: atest FrameworksMockingServicesTests:AppChildProcessTest
Test: atest CtsAppTestCases:ActivityManagerTest
Change-Id: I411741232dde59acd2e3af33e0e89230f7a133a8
parent 033e4cee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ endif
#
# create some directories (some are mount points) and symlinks
LOCAL_POST_INSTALL_CMD := mkdir -p $(addprefix $(TARGET_ROOT_OUT)/, \
    dev proc sys system data data_mirror odm oem acct config storage mnt apex bootstrap-apex debug_ramdisk \
    dev proc sys system data data_mirror odm oem config storage mnt apex bootstrap-apex debug_ramdisk \
    linkerconfig second_stage_resources postinstall tmp $(BOARD_ROOT_EXTRA_FOLDERS)); \
    ln -sf /system/bin $(TARGET_ROOT_OUT)/bin; \
    ln -sf /system/etc $(TARGET_ROOT_OUT)/etc; \
+0 −2
Original line number Diff line number Diff line
@@ -27,8 +27,6 @@ on early-init
    # Set the security context of /postinstall if present.
    restorecon /postinstall

    mkdir /acct/uid

    # memory.pressure_level used by lmkd
    chown root system /dev/memcg/memory.pressure_level
    chmod 0040 /dev/memcg/memory.pressure_level