summaryrefslogtreecommitdiff
path: root/common/constants.cc
diff options
context:
space:
mode:
authorAndrew <andrewlassalle@chromium.org>2020-04-07 15:43:07 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-05 21:05:43 +0000
commit065d78d6963ca13a38ad305bf751b09ec929cf51 (patch)
tree1f526b5f8e363bf08e9abfe43f48b508006a0815 /common/constants.cc
parentebea33916754d5522ce6489a910b990b119b7174 (diff)
update_engine: Change DLC metadata path
Change the location of the DLC metadata from /var/lib/dlc to /var/lib/update_engine/dlc_prefs/ to make update_engine the owner of metadata. BUG=chromium:912666 TEST=cros_workon_make update_engine --test TEST=install and uninstall DLCs on DUT. Check new prefs path. Change-Id: I75f5506eee1abc834ad89a7cf363f42e384b695b Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2140007 Tested-by: Andrew Lassalle <andrewlassalle@chromium.org> Commit-Queue: Amin Hassani <ahassani@chromium.org> Reviewed-by: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'common/constants.cc')
-rw-r--r--common/constants.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/constants.cc b/common/constants.cc
index 793ce97c..25aa9a8a 100644
--- a/common/constants.cc
+++ b/common/constants.cc
@@ -18,8 +18,7 @@
namespace chromeos_update_engine {
-// TODO(andrewlassalle): Move this to the prefs directory.
-const char kDlcMetadataRootpath[] = "/var/lib/dlc/";
+const char kDlcPrefsSubDir[] = "dlc";
const char kPowerwashSafePrefsSubDirectory[] = "update_engine/prefs";