diff options
author | Doug Zongker <dougz@android.com> | 2011-12-14 01:03:28 +0100 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2011-12-14 01:03:28 +0100 |
commit | d9428e3d3e2b94812bb8c2363fc1fde03c906a82 (patch) | |
tree | 3535afafc3f47695a48fefaa810300e50ae04897 /recovery.cpp | |
parent | am 9fc3e3c8: Reconcile with ics-mr1-release (diff) | |
download | android_bootable_recovery-d9428e3d3e2b94812bb8c2363fc1fde03c906a82.tar android_bootable_recovery-d9428e3d3e2b94812bb8c2363fc1fde03c906a82.tar.gz android_bootable_recovery-d9428e3d3e2b94812bb8c2363fc1fde03c906a82.tar.bz2 android_bootable_recovery-d9428e3d3e2b94812bb8c2363fc1fde03c906a82.tar.lz android_bootable_recovery-d9428e3d3e2b94812bb8c2363fc1fde03c906a82.tar.xz android_bootable_recovery-d9428e3d3e2b94812bb8c2363fc1fde03c906a82.tar.zst android_bootable_recovery-d9428e3d3e2b94812bb8c2363fc1fde03c906a82.zip |
Diffstat (limited to '')
-rw-r--r-- | recovery.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp index a0d96d2aa..da9334aae 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -678,6 +678,10 @@ prompt_and_wait(Device* device) { break; case Device::APPLY_EXT: + // Some packages expect /cache to be mounted (eg, + // standard incremental packages expect to use /cache + // as scratch space). + ensure_path_mounted(CACHE_ROOT); status = update_directory(SDCARD_ROOT, SDCARD_ROOT, &wipe_cache, device); if (status == INSTALL_SUCCESS && wipe_cache) { ui->Print("\n-- Wiping cache (at package request)...\n"); |