diff options
author | David Anderson <dvander@google.com> | 2019-03-12 15:24:53 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-03-12 15:36:00 -0700 |
commit | eb30ac28295e99d805fc8f04440d5bf18b5d5896 (patch) | |
tree | 58ac4e38b7bca3177ceb6709399feb386b856c26 /file_paths.h | |
parent | 5f80591e470203a9e2798fda04527bef631bddbd (diff) | |
download | gsid-eb30ac28295e99d805fc8f04440d5bf18b5d5896.tar.gz |
Allow specifying the GSI install path.
This patch follows up on the previous change which removed hardcoding of
/data/gsi. Now, the install path can be specified by gsi_tool or
IGsiService::beginGsiInstall. The path is normalized and then validated.
Currently, only /data/gsi is allowed, however this will be changed in
the near future.
This patch also introduces a new GsiInstallParams parcelable and
startGsiInstall will be deprecated.
Bug: 126230649
Test: gsi_tool --install-dir=/data/gsi works
Change-Id: Ic654f7c7475c17855b65e5917ebcb9ee60e32b79
Diffstat (limited to 'file_paths.h')
-rw-r--r-- | file_paths.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/file_paths.h b/file_paths.h index a1d7d30..64814b5 100644 --- a/file_paths.h +++ b/file_paths.h @@ -19,8 +19,6 @@ namespace android { namespace gsi { -static constexpr char kGsiDataFolder[] = "/data/gsi"; - static constexpr char kGsiMetadataFolder[] = "/metadata/gsi"; static constexpr char kGsiLpMetadataFile[] = "/metadata/gsi/lp_metadata"; static constexpr char kGsiOneShotBootFile[] = "/metadata/gsi/one_shot_boot"; |