init: turn off ext4 quota for builds before 10756

Build 10756.0.0 enabled quota on /mnt/stateful_partition in order
to support ARC++. Unfortunately, in the test lab, we try to preserve
stateful on a host when installing the next test image. If that next
image is older than 10756.0.0:
1) the mount command will fail when the next image boots
2) the failure is reported as "corrupted stateful"
3) machine will then powerwash to recover
4) the provision step fails because python is not present on stateful
5) the machine will get "repaired" successfully

This has already happened to a pool of machines that was already low
on devices. The "temporary" loss of additional machines prevented the
corresponding paladin from running test suites.

Turning off quota has to be done before we boot the buid image
which knows nothing about quota. And we only need/want to do
this for test lab machines. And we can only run tune2fs AFTER
the stateful partition is unmounted.


Change-Id: Id3e86c482857cb67710441b697855e35b8404173
Commit-Ready: Grant Grundler <>
Tested-by: Grant Grundler <>
Reviewed-by: Richard Barnette <>
Reviewed-by: Grant Grundler <>
Reviewed-by: Mike Frysinger <>
1 file changed
tree: cf8b8eb3a77298c6b869b5a5d24e36bdbb3f1120
  1. arc/
  2. attestation/
  3. authpolicy/
  4. avtest_label_detect/
  5. biod/
  6. bluetooth/
  7. bootstat/
  8. buffet/
  9. cecservice/
  10. cfm-device-updater/
  11. chaps/
  12. chromeos-common-script/
  13. chromeos-config/
  14. chromeos-dbus-bindings/
  15. common-mk/
  16. container_utils/
  17. crash-reporter/
  18. cromo/
  19. cros-disks/
  20. cros_component/
  21. crosdns/
  22. crosh/
  23. cryptohome/
  24. debugd/
  25. disk_updater/
  26. easy-unlock/
  27. feedback/
  28. fitpicker/
  29. gobi-cromo-plugin/
  30. goldfishd/
  31. hammerd/
  32. hermes/
  33. image-burner/
  34. imageloader/
  35. init/
  36. installer/
  37. ippusb_manager/
  38. libchromeos-ui/
  39. libcontainer/
  40. libpasswordprovider/
  41. libweave/
  42. login_manager/
  43. lorgnette/
  44. metrics/
  45. midis/
  46. mist/
  47. ml/
  48. modem-utilities/
  49. modemfwd/
  50. mtpd/
  51. p2p/
  52. peerd/
  53. permission_broker/
  54. power_manager/
  55. regions/
  56. run_oci/
  57. salsa/
  58. screenshot/
  59. secure_erase_file/
  60. sepolicy/
  61. smbprovider/
  62. smogcheck/
  63. st_flash/
  64. storage_info/
  65. thd/
  66. timberslide/
  67. touch_firmware_calibration/
  68. touch_keyboard/
  69. tpm2-simulator/
  70. tpm_manager/
  71. trim/
  72. trunks/
  73. u2fd/
  74. userfeedback/
  75. userspace_touchpad/
  76. virtual_file_provider/
  77. vm_tools/
  78. vpn-manager/
  79. webserver/
  80. wifi-testbed/
  81. wimax_manager/
  82. .clang-format
  83. .gitignore
  84. CPPLINT.cfg
  86. PRESUBMIT.cfg

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

arcTools/deamons/init-scripts to run ARC
attestationDaemon and client for managing remote attestation
authpolicyDaemon for integrating with Microsoft Active Directory (AD) domains
avtest_label_detectTest tool for OCRing device labels
biodBiometrics daemon
bluetoothBluetooth Service and tools
bootstatTools for tracking points in the overall boot process (for metrics)
buffetDaemon for reacting to cloud messages
cecserviceService for switching CEC enabled TVs on and off
cfm-device-updaterFirmware updaters for CFM peripherals
chapsPKCS #11 implementation for TPM 1 devices
chromeos-common-scriptShared scripts for partitions and basic disk information
chromeos-configCrOS unified build runtime config manager
chromeos-dbus-bindingsSimplifies the implementation of D-Bus daemons and proxies
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 D-Bus interface to support closed source modem drivers
cros-disksDaemon for mounting removable media (e.g. USB sticks and SD cards)
crosdnsHostname resolution service for Chrome OS
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)
gobi-cromo-pluginplugin for supporting gobi3k modems with cromo
goldfishdAndroid Emulator Daemon
hammerdFirmware updater utility for hammer hardware
hermesChrome OS LPA implementation for eSIM hardware support
image-burnerDaemon for writing disk images (e.g. recovery) to USB sticks & SD cards
imageloaderDaemon for mounting signed disk images
initCrOS common startup init scripts and boot time helpers
installerCrOS installer utility (for AU/recovery/etc...)
ippusb_manager“Service” for ipp-over-usb printing
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
memdDaemon that logs memory-related data and events
metricsClient side user metrics collection
midisMIDI service
mistModem USB Interface Switching Tool
mlMachine learning service
modemfwdDaemon for managing modem firmware updaters
mtpdDaemon for handling Media Transfer Protocol (MTP) with devices (e.g. phones)
p2pService for sharing files between CrOS devices (e.g. updates)
peerdDaemon for communicating with local peers
power_managerUserspace power management daemon and associated tools
run_ociMinimalistic container runtime
salsaTouchpad experimentation framework
screenshotTiny command to take a screenshot
secure_erase_fileHelper tools for securely erasing files from storage (e.g. keys and PII data)
sepolicySELinux policy for Chrome OS
smbproviderDaemon for connecting Samba / Windows networking shares to the
smogcheckDeveloper library for working with raw I2C devices
storage_infoHelper shell functions for retrieving disk information)
thdThermal daemon to help keep systems running cool
timberslideTool for working with EC crashes for reporting purposes
touch_keyboardUtilities for a touch based virtual keyboard
tpm2-simulatorA software TPM 2.0 implementation (for testing/debugging)
tpm_managerDaemon and client for managing TPM setup and operations
trimService to manage filesystem trim operations in the background
trunksMiddleware and resource manager for interfacing with TPM 2.0 hardware
u2fdU2FHID emulation daemon for systems with secure elements (not TPMs)
userfeedbackVarious utilities to gather extended data for user feedback reports
vm_toolsUtilities for Virtual Machine (VM) orchestration
webserverSmall web server with D-Bus client backends
wifi-testbedTools for creating a WiFi testbed image

AOSP Project Directory

These projects can be found here: