Skip to content
Snippets Groups Projects
Commit f0f6ee20 authored by Tao Bao's avatar Tao Bao
Browse files

Allow recovery to read files with oemfs label

The recovery and update_binary need to access the /oem partition for
devices like sprout.

Bug: 19764039
Change-Id: I3647c5d72ed708cd797968669fa1116a3ba39542
(cherry picked from commit d245789c)
parent 96136d84
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,9 @@ recovery_only(`
allow recovery cache_file:dir create_dir_perms;
allow recovery cache_file:file create_file_perms;
# Read files on /oem.
r_dir_file(recovery, oemfs);
# Reboot the device
set_prop(recovery, powerctl_prop)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment