Process is-removable field in component manifest

It reads is-removable field in component manifest and set manifest_
accordingly. If is-removable does not exist in manifest, by default set
false.

BUG=chromium:769970
TEST=unittest

Change-Id: I5cb4a39f072d118483a980238c5b5936d10d6adb
Reviewed-on: https://chromium-review.googlesource.com/714557
Commit-Ready: Xiaochu Liu <xiaochu@chromium.org>
Tested-by: Xiaochu Liu <xiaochu@chromium.org>
Reviewed-by: Greg Kerr <kerrnel@chromium.org>
8 files changed
tree: 545acea31d9737169a0658f89cc90cb08092f52a
  1. .presubmitignore
  2. README.md
  3. component.cc
  4. component.h
  5. component_unittest.cc
  6. dbus_adaptors/
  7. dbus_permissions/
  8. dbus_service/
  9. helper_process.cc
  10. helper_process.h
  11. imageloader-shutdown.conf
  12. imageloader.cc
  13. imageloader.conf
  14. imageloader.gyp
  15. imageloader.h
  16. imageloader_impl.cc
  17. imageloader_impl.h
  18. imageloader_main.cc
  19. imageloader_unittest.cc
  20. imageloader_wrapper
  21. ipc.proto
  22. mock_helper_process.h
  23. mock_verity_mounter.h
  24. mount_helper.cc
  25. mount_helper.h
  26. public_keys/
  27. run_tests.cc
  28. seccomp/
  29. test_utilities.cc
  30. test_utilities.h
  31. testdata/
  32. verity_mounter.cc
  33. verity_mounter.h
  34. verity_mounter_impl.cc
  35. verity_mounter_impl.h
  36. verity_mounter_unittest.cc
README.md

src/platform/imageloader

This aims to provide a generic utility to verify and load (mount) signed disk images through DBUS IPC.

Binaries

  • 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.