From 512376ccc75a2564fe8df671e4e05a3b100b5ee5 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Tue, 3 Sep 2013 19:39:41 +0000 Subject: Extract file_contexts from zips if it exists Update binary will now extract file_contexts if it exists in the root of the zip to /tmp Recovery will replace the existing /file_contexts in the ramdisk if file_contexts exists in the root of the zip. This ensure that the proper contexts are used during zip installs. Change-Id: If22c41101868643b67e6dba6177677c078fcd877 --- updater/install.c | 1 + 1 file changed, 1 insertion(+) (limited to 'updater/install.c') diff --git a/updater/install.c b/updater/install.c index 305703cd3..d8c6dc249 100644 --- a/updater/install.c +++ b/updater/install.c @@ -37,6 +37,7 @@ #include "mtdutils/mtdutils.h" #include "updater.h" #include "applypatch/applypatch.h" +#include "flashutils/flashutils.h" #ifdef USE_EXT4 #include "make_ext4fs.h" -- cgit v1.2.3