summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-03-04 06:40:14 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-03-04 06:40:14 +0100
commit60eae72ac6c35567ea71035d379d4f2300cec77c (patch)
tree948ab1b05cd5e245e49a211f2a71073236b15ed7
parentMerge "Remove dumpkey build guards after completing code move." (diff)
parentRestore labels on /postinstall during recovery. (diff)
downloadandroid_bootable_recovery-60eae72ac6c35567ea71035d379d4f2300cec77c.tar
android_bootable_recovery-60eae72ac6c35567ea71035d379d4f2300cec77c.tar.gz
android_bootable_recovery-60eae72ac6c35567ea71035d379d4f2300cec77c.tar.bz2
android_bootable_recovery-60eae72ac6c35567ea71035d379d4f2300cec77c.tar.lz
android_bootable_recovery-60eae72ac6c35567ea71035d379d4f2300cec77c.tar.xz
android_bootable_recovery-60eae72ac6c35567ea71035d379d4f2300cec77c.tar.zst
android_bootable_recovery-60eae72ac6c35567ea71035d379d4f2300cec77c.zip
-rw-r--r--etc/init.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc
index dc1865986..5915b8d80 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -1,6 +1,9 @@
import /init.recovery.${ro.hardware}.rc
on early-init
+ # Set the security context of /postinstall if present.
+ restorecon /postinstall
+
start ueventd
start healthd