Merge "Revert "init.rc: stop calling 'fsverity_init --load-verified-keys'"" into main am: 428622bb7f
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2676760 Change-Id: I3fa7aefb95ecebb0e015e37559334c9748ed2d62 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
82161b0c05
2 changed files with 7 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue