summaryrefslogtreecommitdiffstats
path: root/otautil/paths.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-06-19 22:08:37 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-06-19 22:08:37 +0200
commit63cc0a7ff91792bd6c4f8614b9c9bf32f2071cd5 (patch)
tree562820112eae7899ef602699d7f118874fbfabc2 /otautil/paths.cpp
parentMerge "updater_sample: run as a systemp app" am: 6b788b1848 (diff)
parentMerge "Drop the dependency on AB_OTA_UPDATER flag." (diff)
downloadandroid_bootable_recovery-63cc0a7ff91792bd6c4f8614b9c9bf32f2071cd5.tar
android_bootable_recovery-63cc0a7ff91792bd6c4f8614b9c9bf32f2071cd5.tar.gz
android_bootable_recovery-63cc0a7ff91792bd6c4f8614b9c9bf32f2071cd5.tar.bz2
android_bootable_recovery-63cc0a7ff91792bd6c4f8614b9c9bf32f2071cd5.tar.lz
android_bootable_recovery-63cc0a7ff91792bd6c4f8614b9c9bf32f2071cd5.tar.xz
android_bootable_recovery-63cc0a7ff91792bd6c4f8614b9c9bf32f2071cd5.tar.zst
android_bootable_recovery-63cc0a7ff91792bd6c4f8614b9c9bf32f2071cd5.zip
Diffstat (limited to 'otautil/paths.cpp')
-rw-r--r--otautil/paths.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/otautil/paths.cpp b/otautil/paths.cpp
index f08e51c7a..33ab4a5d4 100644
--- a/otautil/paths.cpp
+++ b/otautil/paths.cpp
@@ -23,6 +23,7 @@ constexpr const char kDefaultResourceDirectory[] = "/res/images";
constexpr const char kDefaultStashDirectoryBase[] = "/cache/recovery";
constexpr const char kDefaultTemporaryInstallFile[] = "/tmp/last_install";
constexpr const char kDefaultTemporaryLogFile[] = "/tmp/recovery.log";
+constexpr const char kDefaultTemporaryUpdateBinary[] = "/tmp/update-binary";
Paths& Paths::Get() {
static Paths paths;
@@ -36,4 +37,5 @@ Paths::Paths()
resource_dir_(kDefaultResourceDirectory),
stash_directory_base_(kDefaultStashDirectoryBase),
temporary_install_file_(kDefaultTemporaryInstallFile),
- temporary_log_file_(kDefaultTemporaryLogFile) {}
+ temporary_log_file_(kDefaultTemporaryLogFile),
+ temporary_update_binary_(kDefaultTemporaryUpdateBinary) {}