summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-08-01 22:59:40 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-08-01 22:59:40 +0200
commit20c8d0075fe7665b599b841c602b1aee160e90ac (patch)
tree704c52c8d0a1f1ccf3783c495a43a252cdbd468c
parentam a91ecc59: Auto create parent directories for rename support (diff)
parentonly do uncryption on packages in /data (diff)
downloadandroid_bootable_recovery-20c8d0075fe7665b599b841c602b1aee160e90ac.tar
android_bootable_recovery-20c8d0075fe7665b599b841c602b1aee160e90ac.tar.gz
android_bootable_recovery-20c8d0075fe7665b599b841c602b1aee160e90ac.tar.bz2
android_bootable_recovery-20c8d0075fe7665b599b841c602b1aee160e90ac.tar.lz
android_bootable_recovery-20c8d0075fe7665b599b841c602b1aee160e90ac.tar.xz
android_bootable_recovery-20c8d0075fe7665b599b841c602b1aee160e90ac.tar.zst
android_bootable_recovery-20c8d0075fe7665b599b841c602b1aee160e90ac.zip
-rw-r--r--uncrypt/uncrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uncrypt/uncrypt.c b/uncrypt/uncrypt.c
index 24d1ffc2a..bce53dbb9 100644
--- a/uncrypt/uncrypt.c
+++ b/uncrypt/uncrypt.c
@@ -159,7 +159,7 @@ char* parse_recovery_command_file()
while (fgets(temp, sizeof(temp), f)) {
printf("read: %s", temp);
- if (strncmp(temp, "--update_package=", strlen("--update_package=")) == 0) {
+ if (strncmp(temp, "--update_package=/data/", strlen("--update_package=/data/")) == 0) {
fn = strdup(temp + strlen("--update_package="));
strcpy(temp, "--update_package=@" CACHE_BLOCK_MAP "\n");
}