commit | d5eb65afd5f9da10a3fa86f65d357a817221717e | [log] [tgz] |
---|---|---|
author | Ashish Gaurav <ashishgaurav@google.com> | Fri May 27 22:43:45 2016 |
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | Mon Jun 13 18:38:37 2016 |
tree | fb3490768a3a1070a8acc1987381828de52d7beb | |
parent | e5528478532272c7283420fcd8b744288d4ae189 [diff] |
initial revision for imageloader - also add unit tests (run them by FEATURES="test" emerge-${BOARD} ...) BUG=chromium:616816 TEST=emerge-cyan chromeos-base/imageloader && cros deploy <ip for cyan> chromeos-base/imageloader Change-Id: Idb3593ac65a83dedb85d78c42104d1b4ead5c7e0 Reviewed-on: https://chromium-review.googlesource.com/348080 Reviewed-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Andrew de los Reyes <adlr@chromium.org> Commit-Queue: Ashish Gaurav <ashishgaurav@chromium.org> Tested-by: Ashish Gaurav <ashishgaurav@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.