New issue
Advanced search Search tips

Issue 838066 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 838795



Sign in to add a comment

cros_config: The VPD Name Should be whitelabel_tag not customization_id

Project Member Reported by marcochen@chromium.org, Apr 30 2018

Issue description

Refer to [1], cros_config read vpd - customization_id to match both of identify - whitelabel-tag and customization_id. 

But for whitelabel devices since Coral, only whitelabel-tag is used so SelectConfigByIdentity() would fail.

[1] https://chromium.googlesource.com/chromiumos/platform2/+/master/chromeos-config/libcros_config/cros_config.cc#25
 
Cc: sjg@chromium.org jclinton@chromium.org yueherngl@chromium.org shapiroc@chromium.org
Blocking: 838795
Labels: -Pri-3 Pri-2
Owner: shapiroc@chromium.org
Status: Assigned (was: Untriaged)
will add support for this
Project Member

Comment 6 by bugdroid1@chromium.org, May 11 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/8e30bae74a6a1e2520b032c7059a5e4f93a44ae9

commit 8e30bae74a6a1e2520b032c7059a5e4f93a44ae9
Author: C Shapiro <shapiroc@chromium.org>
Date: Fri May 11 02:41:02 2018

chromeos-connfig: Add whitelabel_tag support

VPD identity values can be either customization_id or whitelabel_tag.
Changed the identity impl in cros_config to support either.  mosys
already had this support, which is why fw updater worked.  This will
make cros_config work the same way (where either vpd value is
supported).

BUG= chromium:838066 
TEST=build and test on whitetip

Change-Id: I2ea654dff4b58253a19f4bce601832853c44ba56
Reviewed-on: https://chromium-review.googlesource.com/1054186
Commit-Ready: C Shapiro <shapiroc@google.com>
Tested-by: C Shapiro <shapiroc@google.com>
Reviewed-by: Gregory Meinke <gmeinke@chromium.org>

[modify] https://crrev.com/8e30bae74a6a1e2520b032c7059a5e4f93a44ae9/chromeos-config/libcros_config/cros_config_fdt.cc
[modify] https://crrev.com/8e30bae74a6a1e2520b032c7059a5e4f93a44ae9/chromeos-config/libcros_config/identity.cc
[modify] https://crrev.com/8e30bae74a6a1e2520b032c7059a5e4f93a44ae9/chromeos-config/libcros_config/identity.h
[modify] https://crrev.com/8e30bae74a6a1e2520b032c7059a5e4f93a44ae9/chromeos-config/libcros_config/cros_config.cc
[modify] https://crrev.com/8e30bae74a6a1e2520b032c7059a5e4f93a44ae9/chromeos-config/libcros_config/cros_config_json.cc

Status: Fixed (was: Assigned)

Sign in to add a comment