summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-03-04 06:47:16 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-03-04 06:47:16 +0100
commit20bb31bbd3a74667ff1da59ef4ead37d065dc80d (patch)
tree7365c90aa9cca235f99fd73989839a1919d70517
parentuncrypt: Communicate via /dev/socket/uncrypt. (diff)
parentMerge "Restore labels on /postinstall during recovery." (diff)
downloadandroid_bootable_recovery-20bb31bbd3a74667ff1da59ef4ead37d065dc80d.tar
android_bootable_recovery-20bb31bbd3a74667ff1da59ef4ead37d065dc80d.tar.gz
android_bootable_recovery-20bb31bbd3a74667ff1da59ef4ead37d065dc80d.tar.bz2
android_bootable_recovery-20bb31bbd3a74667ff1da59ef4ead37d065dc80d.tar.lz
android_bootable_recovery-20bb31bbd3a74667ff1da59ef4ead37d065dc80d.tar.xz
android_bootable_recovery-20bb31bbd3a74667ff1da59ef4ead37d065dc80d.tar.zst
android_bootable_recovery-20bb31bbd3a74667ff1da59ef4ead37d065dc80d.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