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

This commit is contained in:
Eric Biggers 2023-07-25 22:49:09 +00:00 committed by Gerrit Code Review
commit 5aade9ca04
2 changed files with 1 additions and 7 deletions

View file

@ -20,10 +20,7 @@ prebuilt_etc {
name: "init.rc",
src: "init.rc",
sub_dir: "init/hw",
required: [
"fsverity_init",
"platform-bootclasspath",
],
required: ["platform-bootclasspath"],
}
prebuilt_etc {

View file

@ -629,9 +629,6 @@ 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