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

Commit c4289e6b authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "Move early_hal start to late-fs trigger action" am: 9ef4417c

am: 2ad21de5

Change-Id: I884b8b874e751859ea7af4fd737e19f36d3b74c6
parents 99b26e5a 2ad21de5
Loading
Loading
Loading
Loading
+4 −3
Original line number Original line Diff line number Diff line
@@ -301,9 +301,6 @@ on post-fs
    start logd
    start logd
    start hwservicemanager
    start hwservicemanager


    # HALs required before data is mounted
    class_start early_hal

    # once everything is setup, no need to modify /
    # once everything is setup, no need to modify /
    mount rootfs rootfs / ro remount
    mount rootfs rootfs / ro remount
    # Mount shared so changes propagate into child namespaces
    # Mount shared so changes propagate into child namespaces
@@ -351,6 +348,10 @@ on post-fs
    # create the lost+found directories, so as to enforce our permissions
    # create the lost+found directories, so as to enforce our permissions
    mkdir /cache/lost+found 0770 root root
    mkdir /cache/lost+found 0770 root root


on late-fs
    # HALs required before storage encryption can get unlocked (FBE/FDE)
    class_start early_hal

on post-fs-data
on post-fs-data
    # We chown/chmod /data again so because mount is run as root + defaults
    # We chown/chmod /data again so because mount is run as root + defaults
    chown system system /data
    chown system system /data