summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2011-01-28 23:31:16 -0800
committerKen Sumrall <ksumrall@android.com>2011-01-29 00:48:30 -0800
commit3ed8236de11a1be8b45d4c37b2208682f5e97c72 (patch)
tree271a5a900af120f1a1013a7df02b4b225dd8dfc3 /Android.mk
parent0167cb15935592deea9abbd6a8bbe904e27bd101 (diff)
downloadsystem_vold-3ed8236de11a1be8b45d4c37b2208682f5e97c72.tar.gz
system_vold-3ed8236de11a1be8b45d4c37b2208682f5e97c72.tar.bz2
system_vold-3ed8236de11a1be8b45d4c37b2208682f5e97c72.zip
Don't try to encrypt in place a filesystem that is too large and return proper errors
If the already existing filesystem encompasses the entire /data partition and does not leave the last 16 Kbytes for the crypto footer, refuse to do encrypt in place and return an error. This is only an issue for folks with early development systems trying to encrypt an old /data. This should not be seen in released devices. Also, if there is an error, try to report back to the UI what the error was so it can deal with it. Change-Id: If66781a4fe03034c96c3dd12075240deb8663db0
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 7670474..3b96aab 100644
--- a/Android.mk
+++ b/Android.mk
@@ -26,6 +26,7 @@ common_src_files := \
common_c_includes := \
$(KERNEL_HEADERS) \
+ system/extras/ext4_utils \
external/openssl/include
common_shared_libraries := \