Clone this repo:
  1. fb7fe28 Add code to query the version of a component. by Greg Kerr · 3 days ago master
  2. 87bf725 Make component registration atomic, and check version rollback. by Greg Kerr · 6 days ago
  3. cdf8058 Add unit test for VerifyAndParseManifest. by Greg Kerr · 9 days ago
  4. 442cb0c Convert ImageLoader to use ECDSA crytpo. by Greg Kerr · 10 days ago
  5. d8088ed Add code to register and copy components. by Greg Kerr · 14 days ago

src/platform/imageloader

This aims to provide a generic utility to load (mount) and unload (unmount) verified disk images through DBus IPC.

Binaries

  • imageloader
  • imageloadclient

imageloader can be run as root and can handle mounting and unmounting of disk images. imageloadclient is a simple client (intended to be run as chronos) that can talk to imageloader and ask it to mount and unmount stuff. When imageloader is not running, DBus can invoke it via the one time run option (imageloader -o) and get the task done.