do sdcard sideloading through the fuse filesystem

Make a fuse filesystem that sits on top of the selected package file
on the sdcard, so we can verify that the file contents don't change
while being read and avoid copying the file to /tmp (that is, RAM)
before verifying and installing it.

Change-Id: Ifd982aa68bfe469eda5f839042648654bf7386a1
This commit is contained in:
Doug Zongker
2014-07-10 10:58:35 -07:00
parent 18a78e0a16
commit 945fc68c62
4 changed files with 175 additions and 102 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ LOCAL_SRC_FILES := \
screen_ui.cpp \
asn1_decoder.cpp \
verifier.cpp \
adb_install.cpp
adb_install.cpp \
fuse_sdcard_provider.c
LOCAL_MODULE := recovery