commit | cdf8058d7b9eaff9a0ec22ce74adb294189226c0 | [log] [tgz] |
---|---|---|
author | Greg Kerr <kerrnel@chromium.org> | Tue Jul 19 18:51:16 2016 |
committer | chrome-bot <chrome-bot@chromium.org> | Wed Jul 20 01:34:05 2016 |
tree | ebfba001f2cd6d12e80c15e13aa6743f2bf4e525 | |
parent | 442cb0c29a557d0d82e8e8053445b6b6d8f22b07 [diff] |
Add unit test for VerifyAndParseManifest. This adds unit tests for VerifyAndParseManifest, in both positive and negative cases. BUG=chromium:588220 TEST=FEATURES="test" emerge-${BOARD} imageloader Change-Id: I8392a045379d1eaa8879416bb159d671c6820ed1 Reviewed-on: https://chromium-review.googlesource.com/361597 Commit-Ready: Greg Kerr <kerrnel@chromium.org> Tested-by: Greg Kerr <kerrnel@chromium.org> Reviewed-by: Ricky Zhou <rickyz@chromium.org>
This aims to provide a generic utility to load (mount) and unload (unmount) verified disk images through DBus IPC.
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.