Allow fastbootd to read virtual_ab_prop

It needs to know whether B partitions should be allocated
at the second half of super.

Test: flash and see serial output
Fixes: 147363527
Change-Id: I58c57befa3ee3569c911cbdf506e919fe1d0bae4
This commit is contained in:
Yifan Hong 2020-01-24 20:21:11 -08:00
parent edd4726300
commit 75a880bda8

View File

@ -114,6 +114,10 @@ recovery_only(`
allow fastbootd gsi_metadata_file:dir search;
allow fastbootd ota_metadata_file:dir rw_dir_perms;
allow fastbootd ota_metadata_file:file create_file_perms;
# Determine allocation scheme (whether B partitions needs to be
# at the second half of super.
get_prop(fastbootd, virtual_ab_prop)
')
###