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

Commit 428622bb authored by Eric Biggers's avatar Eric Biggers Committed by Gerrit Code Review
Browse files

Merge "Revert "init.rc: stop calling 'fsverity_init --load-verified-keys'"" into main

parents 17df69eb 9292f74f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -20,7 +20,10 @@ prebuilt_etc {
    name: "init.rc",
    src: "init.rc",
    sub_dir: "init/hw",
    required: ["platform-bootclasspath"],
    required: [
        "fsverity_init",
        "platform-bootclasspath",
    ],
}

prebuilt_etc {
+3 −0
Original line number Diff line number Diff line
@@ -629,6 +629,9 @@ on late-fs
    # HALs required before storage encryption can get unlocked (FBE)
    class_start early_hal

    # Load trusted keys from dm-verity protected partitions
    exec -- /system/bin/fsverity_init --load-verified-keys

# Only enable the bootreceiver tracing instance for kernels 5.10 and above.
on late-fs && property:ro.kernel.version=4.9
    setprop bootreceiver.enable 0