Check the enrollment in /home/chronos/Local State in addition to the VPD.
This will allow us to migrate the remaining CfMs to the -cfm flavors of
their board images.
BUG=b:157901191
TEST=unit tests, compared behavior with fizz on a Teemo with and without
requisition in VPD, with and without enrollment in Local State JSON.
Cq-Depend: chromium:2239007
Change-Id: I99b05b8530265d4ef4c81472d0be6ba251f7049c
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2242361
Tested-by: Matthew Ziegelbaum <ziegs@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Commit-Queue: Matthew Ziegelbaum <ziegs@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index c37d5b9..5d2e498 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -212,6 +212,7 @@
"payload_state.cc",
"power_manager_chromeos.cc",
"real_system_state.cc",
+ "requisition_util.cc",
"shill_proxy.cc",
"update_attempter.cc",
"update_boot_flags_action.cc",
@@ -509,6 +510,7 @@
"payload_generator/squashfs_filesystem_unittest.cc",
"payload_generator/zip_unittest.cc",
"payload_state_unittest.cc",
+ "requisition_util_unittest.cc",
"testrunner.cc",
"update_attempter_unittest.cc",
"update_boot_flags_action_unittest.cc",