commit | f0c3f313342ff869898db912c9cc53a98d9aeac1 | [log] [tgz] |
---|---|---|
author | Greg Kerr <kerrnel@chromium.org> | Thu Nov 17 22:28:49 2016 |
committer | chrome-bot <chrome-bot@chromium.org> | Thu Dec 01 03:11:45 2016 |
tree | ea67cc8f1449570119aa7b60095cd25bda6bbf0a | |
parent | a2f81a7dadb8b7405bb40792a4029ebeb0fef70c [diff] |
Refactor code into a component class. BUG=chromium:630421 TEST=emerge-${BOARD} imageloader Change-Id: I66c8a39da6067776abd0dbb05ae4311895782a7c Reviewed-on: https://chromium-review.googlesource.com/413146 Commit-Ready: Greg Kerr <kerrnel@chromium.org> Tested-by: Greg Kerr <kerrnel@chromium.org> Reviewed-by: Greg Kerr <kerrnel@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.