diff options
author | David Anderson <dvander@google.com> | 2019-07-01 14:49:11 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-07-19 13:44:58 -0700 |
commit | 9bdf86390f9bcd530f616967d82e66d3d53a6bfa (patch) | |
tree | fd0f2ef5b768bac12a939a379c0604e9339464b1 /file_paths.h | |
parent | 9ce6af04b10064a9624a72319cfb36012bae0923 (diff) | |
download | gsid-9bdf86390f9bcd530f616967d82e66d3d53a6bfa.tar.gz |
Rename internal constants from kGsi* to kDsu*.
As we add support for multiple types of images, we need to disambiguate
the "gsi" acronym. So for Dynamic System Updates, use "Dsu" in
identifiers instead of Gsi.
Bug: N/A
Test: builds
Change-Id: I4f7dbc494b7b8650e05b96e596d665cebd6d14c4
Diffstat (limited to 'file_paths.h')
-rw-r--r-- | file_paths.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/file_paths.h b/file_paths.h index a772bce..678a7a3 100644 --- a/file_paths.h +++ b/file_paths.h @@ -19,19 +19,19 @@ namespace android { namespace gsi { -static constexpr char kDefaultGsiImageFolder[] = "/data/gsi/dsu/"; +static constexpr char kDefaultDsuImageFolder[] = "/data/gsi/dsu/"; static constexpr char kUserdataDevice[] = "/dev/block/by-name/userdata"; -static constexpr char kGsiLpMetadataFile[] = "/metadata/gsi/dsu/lp_metadata"; -static constexpr char kGsiOneShotBootFile[] = "/metadata/gsi/dsu/one_shot_boot"; -static constexpr char kGsiInstallDirFile[] = "/metadata/gsi/dsu/install_dir"; +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"; // This file can contain the following values: // [int] - boot attempt counter, starting from 0 // "ok" - boot was marked successful // "disabled" - boot into GSI no longer allowed // "wipe" - boot into GSI not allowed; next reboot will delete gsi -static constexpr char kGsiInstallStatusFile[] = "/metadata/gsi/dsu/install_status"; +static constexpr char kDsuInstallStatusFile[] = "/metadata/gsi/dsu/install_status"; } // namespace gsi } // namespace android |