chromeos-config: Allow a SKU ID of -1

The absense of a SKU ID is actually a useful thing to match on in at least
one case. Fizz has models with SKU IDs but the original device did not
have one. We still want to match it.

Update the validator to permit a SKU ID of -1. This can be done in the
config by putting the value in brackets:

	simple-sku-map = < (-1) &fizz >;

BUG=chromium:785366
TEST=emerge-fizz -q --nodeps chromeos-config-bsp
See that it allows this

Change-Id: Ie47c8202c8bec0faf570af58f547503dbc290b3f
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/772391
Tested-by: YH Lin <yueherngl@chromium.org>
Reviewed-by: YH Lin <yueherngl@chromium.org>
(cherry picked from commit 8a5f8d849dc6d1ad829f23be7245a6b7c53ff73a)
Reviewed-on: https://chromium-review.googlesource.com/801194
Commit-Queue: YH Lin <yueherngl@chromium.org>
2 files changed
tree: d1b00e9e7ae692f01468a1608b374f20139dcc94
  1. arc-networkd/
  2. authpolicy/
  3. avtest_label_detect/
  4. biod/
  5. bootstat/
  6. buffet/
  7. chaps/
  8. chromeos-config/
  9. common-mk/
  10. container_utils/
  11. crash-reporter/
  12. cromo/
  13. cros-disks/
  14. cros_component/
  15. crosh/
  16. cryptohome/
  17. debugd/
  18. disk_updater/
  19. easy-unlock/
  20. feedback/
  21. fitpicker/
  22. gobi-cromo-plugin/
  23. goldfishd/
  24. hammerd/
  25. image-burner/
  26. init/
  27. installer/
  28. libchromeos-ui/
  29. libcontainer/
  30. libpasswordprovider/
  31. libweave/
  32. login_manager/
  33. lorgnette/
  34. metrics/
  35. midis/
  36. mist/
  37. modem-utilities/
  38. modemfwd/
  39. p2p/
  40. peerd/
  41. permission_broker/
  42. power_manager/
  43. regions/
  44. run_oci/
  45. salsa/
  46. secure_erase_file/
  47. smbprovider/
  48. smogcheck/
  49. st_flash/
  50. thd/
  51. timberslide/
  52. touch_firmware_calibration/
  53. touch_keyboard/
  54. tpm2-simulator/
  55. trim/
  56. u2fd/
  57. userfeedback/
  58. userspace_touchpad/
  59. virtual_file_provider/
  60. vm_tools/
  61. vpn-manager/
  62. wimax_manager/
  63. .clang-format
  64. .gitignore
  65. CPPLINT.cfg
  66. LICENSE
  67. PRESUBMIT.cfg
  68. README.md
README.md

The Chromium OS Platform

This repo holds (most) of the custom code that makes up the Chromium OS platform. That largely covers daemons, programs, and libraries that were written specifically for Chromium OS.

We moved from multiple separate repos in platform/ to a single repo in platform2/ for a number of reasons:

  • Make it easier to work across multiple projects simultaneously
  • Increase code re-use (via common libs) rather than duplicate utility functions multiple items over
  • Share the same build system

While most projects were merged, not all of them were. Some projects were standalone already (such as vboot), or never got around to being folded in (such as imageloader). Some day those extra projects might get merged in.

Similarly, some projects that were merged in, were then merged back out. This was due to the evolution of the Brillo project and collaboration with Android. That means the AOSP repos are the upstream and Chromium OS carries copies.

Local Project Directory

ProjectDescription
arc-networkdTools for managing ARC++ network settings
authpolicyDaemon for integrating with Microsoft Active Directory (AD) domains
avtest_label_detectTest tool for OCRing device labels
biodBiometrics daemon
bootstatTools for tracking points in the overall boot process (for metrics)
buffetDaemon for reacting to cloud messages
chapsPKCS #11 implementation for TPM 1 devices
chromeos-configCrOS unified build runtime config manager
common-mkCommon build & test logic for platform2 projects
container_utilsSupport tools for containers (e.g. device-jail)
crash-reporterThe system crash handler & reporter
cromomodemmanager compatible dbus interface to support closed source modem drivers
cros-disksDaemon for mounting removable media (e.g. USB sticks and SD cards)
cros_component
croshThe Chromium OS shell
cryptohomeDaemon and tools for managing encrypted /home and /var directories
debugdCentralized debug daemon for random tools
disk_updaterUtility for updating root disk firmware (e.g. SSDs and eMMC)
easy-unlockDaemon for handling Easy Unlock requests (e.g. unlocking Chromebooks with an Android device)
feedbackDaemon for headless systems that want to gather feedback (normally Chrome manages it)
fitpicker
gobi-cromo-pluginplugin for supporting gobi3k modems with cromo
goldfishdAndroid Emulator Daemon
hammerdFirmware updater utility for hammer hardware
image-burnerDaemon for writing disk images (e.g. recovery) to USB sticks & SD cards
initCrOS common startup init scripts and boot time helpers
installerCrOS installer utility (for AU/recovery/etc...)
libchromeos-ui
libcontainer
libpasswordproviderPassword Provider library for securely managing credentials with system services
libweaveLibrary for cloud messaging
login_managerSession manager for handling the life cycle of the main session (e.g. Chrome)
lorgnetteDaemon for managing attached USB scanners via SANE
metricsClient side user metrics collection
midisMIDI service
mistModem USB Interface Switching Tool
modem-utilities
modemfwdDaemon for managing modem firmware updaters
p2pService for sharing files between CrOS devices (e.g. updates)
peerdDaemon for communicating with local peers
permission_broker
power_managerUserspace power management daemon and associated tools
regions
run_ociMinimalistic container runtime
salsaTouchpad experimentation framework
secure_erase_fileHelper tools for securely erasing files from storage (e.g. keys and PII data)
smbproviderDaemon for connecting Samba / Windows networking shares to the Files.app
smogcheckDeveloper library for working with raw I2C devices
st_flash
thdThermal daemon to help keep systems running cool
timberslideTool for working with EC crashes for reporting purposes
touch_firmware_calibration
touch_keyboardUtilities for a touch based virtual keyboard
tpm2-simulatorA software TPM 2.0 implementation (for testing/debugging)
trimService to manage filesystem trim operations in the background
u2fdU2FHID emulation daemon for systems with secure elements (not TPMs)
userfeedbackVarious utilities to gather extended data for user feedback reports
userspace_touchpad
virtual_file_provider
vm_toolsUtilities for Virtual Machine (VM) orchestration
vpn-manager
wimax_manager

AOSP Project Directory

These projects can be found here: https://chromium.googlesource.com/aosp/platform/