commit | d1b18a797e994f64477b9edac3b71ca37d0d1a6a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Nov 22 05:05:00 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Nov 22 05:05:00 2018 +0000 |
tree | ed33105c4c0b35dceb42a2bfe20da577bc6067a5 | |
parent | ddd43bfcc9a7ba9ccdcb499e8760d614bb69d25a [diff] | |
parent | 1817cbde1452fb0cba8682d54f20da8048661c64 [diff] |
Merge "Allow to execute postinstall in adb sideload"
diff --git a/public/postinstall.te b/public/postinstall.te index 7fd4dc6..2ef68bd 100644 --- a/public/postinstall.te +++ b/public/postinstall.te
@@ -19,6 +19,11 @@ allow postinstall system_file:file rx_file_perms; allow postinstall toolbox_exec:file rx_file_perms; +# Allow postinstall to execute shell in recovery. +recovery_only(` + allow postinstall rootfs:file rx_file_perms; +') + # # For OTA dexopt. #