summaryrefslogtreecommitdiff
path: root/file_paths.h
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-07-01 19:05:35 -0700
committerDavid Anderson <dvander@google.com>2019-07-19 13:45:19 -0700
commit64b53fb4406636ee9fab6a310dafb63dcc28fc2b (patch)
tree2f8d4fba0b41d4c0ade426562467722b344ff7ae /file_paths.h
parent9bdf86390f9bcd530f616967d82e66d3d53a6bfa (diff)
downloadgsid-64b53fb4406636ee9fab6a310dafb63dcc28fc2b.tar.gz
Refactor GsiService/GsiInstaller to use ImageManager.
Since ImageManager was mostly lifted from gsi_installer.cpp, it is straightforward to remove this code and transition entirely to the new libfiemap. Bug: 134536978 Test: gsi_tool install, enable/disable, status, wipe Change-Id: Ic5e19906cfce9018fd5f9029e1e4de3852dbc5a9
Diffstat (limited to 'file_paths.h')
-rw-r--r--file_paths.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/file_paths.h b/file_paths.h
index 678a7a3..8d1ed0a 100644
--- a/file_paths.h
+++ b/file_paths.h
@@ -22,6 +22,7 @@ namespace gsi {
static constexpr char kDefaultDsuImageFolder[] = "/data/gsi/dsu/";
static constexpr char kUserdataDevice[] = "/dev/block/by-name/userdata";
+static constexpr char kDsuMetadataDir[] = "/metadata/gsi/dsu";
static constexpr char kDsuLpMetadataFile[] = "/metadata/gsi/dsu/lp_metadata";
static constexpr char kDsuOneShotBootFile[] = "/metadata/gsi/dsu/one_shot_boot";
static constexpr char kDsuInstallDirFile[] = "/metadata/gsi/dsu/install_dir";