From 080f522fb9d58a9c47c0c3b79c32a61ba3c2bfc8 Mon Sep 17 00:00:00 2001 From: Alex Deymo Date: Wed, 2 Mar 2016 14:21:02 -0800 Subject: Restore labels on /postinstall during recovery. This patch mirrors what was done in the main init.rc to relabel /postinstall. Bug: 27178350 Bug: 27177071 (cherry picked from commit 6bcc8af6e5a5bf9cc0987305cdfa24d4f6e4afa9) Change-Id: I8320559f014cfb14216dcc350e016fc1db05cb14 --- etc/init.rc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc') 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 -- cgit v1.2.3