commit | fb7fe28f7f7e948d6ce4c8e9b1ba9c3999c819ac | [log] [tgz] |
---|---|---|
author | Greg Kerr <kerrnel@chromium.org> | Thu Jul 21 22:17:00 2016 |
committer | chrome-bot <chrome-bot@chromium.org> | Tue Jul 26 02:12:01 2016 |
tree | 385f333de9c877b006f09a28a86992d56ebc65e1 | |
parent | 87bf7257b9f003a166b2853f83fcbe9f30dc8c1e [diff] |
Add code to query the version of a component. This code allows consumers to query the version of a component by name. BUG=chromium:630421 TEST=emerge imageloader, and run with test components on device. Change-Id: I25fb85f4a3ae6eacacb86407d6b6fcf08e3f94a9 Reviewed-on: https://chromium-review.googlesource.com/362990 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.