summaryrefslogtreecommitdiffstats
path: root/otautil/paths.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-06-22 11:37:40 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-06-22 11:37:40 +0200
commit24bb70a383d68213e8745eae9446f7b01497f447 (patch)
tree8babdeb9d275fbe2f01b50f1adf7b9c65ac8f85d /otautil/paths.cpp
parentSnap for 4848708 from 0c0a6dd512a3144cd8a710921554eb074f273905 to qt-release (diff)
parentMerge "e2fsdroid and mke2fs are dynamic executable in recovery partition" am: 9b5d4ea20f am: 681ae40d41 (diff)
downloadandroid_bootable_recovery-24bb70a383d68213e8745eae9446f7b01497f447.tar
android_bootable_recovery-24bb70a383d68213e8745eae9446f7b01497f447.tar.gz
android_bootable_recovery-24bb70a383d68213e8745eae9446f7b01497f447.tar.bz2
android_bootable_recovery-24bb70a383d68213e8745eae9446f7b01497f447.tar.lz
android_bootable_recovery-24bb70a383d68213e8745eae9446f7b01497f447.tar.xz
android_bootable_recovery-24bb70a383d68213e8745eae9446f7b01497f447.tar.zst
android_bootable_recovery-24bb70a383d68213e8745eae9446f7b01497f447.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) {}