commit | 8becf5f5f191c7afcdb0d793a296c83e85a3078d | [log] [tgz] |
---|---|---|
author | Greg Kerr <kerrnel@chromium.org> | Thu Jan 26 23:53:27 2017 |
committer | chrome-bot <chrome-bot@chromium.org> | Fri Jan 27 07:16:40 2017 |
tree | e6ac928bccbb0865de7a23713eee39fd247ed658 | |
parent | b0d814968fc16316486f49508c72115c3935a4bd [diff] |
Exit normally if the requested image is missing. imageloader uses LOG(FATAL) if the image it attempted to mount is missing, or fails to mount for some reason (corrupt, etc.). This generates crash reports, so it should log the error and exit cleanly with exit code 1. BUG=chromium:685479 TEST=test_that -b ${BOARD} ${DUT_ip} imageloader Change-Id: Ic41d155c25bcd644dbc3410e7c55d0f2c4182397 Reviewed-on: https://chromium-review.googlesource.com/433446 Commit-Ready: Greg Kerr <kerrnel@chromium.org> Tested-by: Greg Kerr <kerrnel@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
This aims to provide a generic utility to verify and load (mount) signed disk images through DBUS IPC.
imageloader
imageloader
handles the mounting of disk images. imageloader
should be executed via the imageloader_wrapper
script, which ensures that imageloader's storage exists and is owned by imageloaderd
user. When imageloader
is not running, DBus will automatically invoke it. After 20 seconds of inactivity, the service exits.