--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
IIRC, +Paul Stewart argued against putting such information in VPD, since the value is the same for all units of a given board. (Compare with, e.g., "region". "region" will vary for different units of the same board.)On Wed, May 20, 2015 at 5:51 PM Gaurav Shah <gaur...@chromium.org> wrote:The mapping has to be *somewhere*. If this info is going to be a part of the /etc/lsb-release, then you need a way to do this at build time. We have precedence for doing board-specific /etc/lsb-release mangling (search for "doappid" on code search).
--Another alternative (that is also discussed in the bug) is to have this be encoded as part of the VPD (just like we do with the HWID). This would require this info to be baked at factory time. This will obviously not work for existing devices.-gOn Wed, May 20, 2015 at 3:21 PM, Jacob <jduf...@chromium.org> wrote:----Currently, determining the type of ChromeOS device we are on (Chromebit, Chromebase, Chromebook, Chromebox) is done by mapping the board name to the device. This map is hard-coded and needs to be updated whenever a new board is released/created.Instead, the device type can be added to /etc/lsb_release which will will be baked into the device. The device-type mapping will still have to exist for old Chrome devices which do not have the updated metadata inside of /etc/lsb_release, but it will no longer need to be updated for each new board.Thoughts?Context:
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-d...@chromium.org.