update_engine: Remove rootfs_mountpt from ImageConfig.

The mounted rootfs is not used anymore during opeartions generation so
this patch removes the setting from the ImageConfig. The --new_dir flag
is now deprecated because of this.

The --old_dir is still being used when no --minor_version is passed, to
autodetect the minor version of the old image.

With this patch, the rootfs and kernel partitions have a more generic
description in the config.

BUG=None
TEST=Unittest still pass.

Change-Id: I0398493a44f8c09159a93a716f2168f45e8f8df9
Reviewed-on: https://chromium-review.googlesource.com/275805
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
9 files changed
tree: 010572208967e7e60bd99146a2a5304df6dd23b3
  1. dbus_bindings/
  2. init/
  3. payload_generator/
  4. sample_images/
  5. update_manager/
  6. .gitignore
  7. action.h
  8. action_pipe.h
  9. action_pipe_unittest.cc
  10. action_processor.cc
  11. action_processor.h
  12. action_processor_unittest.cc
  13. action_unittest.cc
  14. bzip.cc
  15. bzip.h
  16. bzip_extent_writer.cc
  17. bzip_extent_writer.h
  18. bzip_extent_writer_unittest.cc
  19. certificate_checker.cc
  20. certificate_checker.h
  21. certificate_checker_unittest.cc
  22. chrome_browser_proxy_resolver.cc
  23. chrome_browser_proxy_resolver.h
  24. chrome_browser_proxy_resolver_unittest.cc
  25. clock.cc
  26. clock.h
  27. clock_interface.h
  28. connection_manager.cc
  29. connection_manager.h
  30. connection_manager_unittest.cc
  31. constants.cc
  32. constants.h
  33. dbus_constants.h
  34. dbus_service.cc
  35. dbus_service.h
  36. dbus_wrapper_interface.h
  37. delta_performer.cc
  38. delta_performer.h
  39. delta_performer_unittest.cc
  40. download_action.cc
  41. download_action.h
  42. download_action_unittest.cc
  43. error_code.h
  44. extent_ranges.cc
  45. extent_ranges.h
  46. extent_ranges_unittest.cc
  47. extent_writer.cc
  48. extent_writer.h
  49. extent_writer_unittest.cc
  50. fake_clock.h
  51. fake_file_writer.h
  52. fake_hardware.h
  53. fake_p2p_manager.h
  54. fake_p2p_manager_configuration.h
  55. fake_prefs.cc
  56. fake_prefs.h
  57. fake_system_state.cc
  58. fake_system_state.h
  59. file_descriptor.cc
  60. file_descriptor.h
  61. file_writer.cc
  62. file_writer.h
  63. file_writer_unittest.cc
  64. filesystem_verifier_action.cc
  65. filesystem_verifier_action.h
  66. filesystem_verifier_action_unittest.cc
  67. generate_image.gypi
  68. glib_utils.cc
  69. glib_utils.h
  70. hardware.cc
  71. hardware.h
  72. hardware_interface.h
  73. http_common.cc
  74. http_common.h
  75. http_fetcher.cc
  76. http_fetcher.h
  77. http_fetcher_unittest.cc
  78. hwid_override.cc
  79. hwid_override.h
  80. hwid_override_unittest.cc
  81. install_plan.cc
  82. install_plan.h
  83. libcurl_http_fetcher.cc
  84. libcurl_http_fetcher.h
  85. local_coverage_rate
  86. main.cc
  87. metrics.cc
  88. metrics.h
  89. mock_action.h
  90. mock_action_processor.h
  91. mock_certificate_checker.h
  92. mock_connection_manager.h
  93. mock_dbus_wrapper.h
  94. mock_file_writer.h
  95. mock_hardware.h
  96. mock_http_fetcher.cc
  97. mock_http_fetcher.h
  98. mock_omaha_request_params.h
  99. mock_p2p_manager.h
  100. mock_payload_state.h
  101. mock_prefs.h
  102. mock_update_attempter.h
  103. mtd_file_descriptor.cc
  104. mtd_file_descriptor.h
  105. multi_range_http_fetcher.cc
  106. multi_range_http_fetcher.h
  107. omaha_hash_calculator.cc
  108. omaha_hash_calculator.h
  109. omaha_hash_calculator_unittest.cc
  110. omaha_request_action.cc
  111. omaha_request_action.h
  112. omaha_request_action_unittest.cc
  113. omaha_request_params.cc
  114. omaha_request_params.h
  115. omaha_request_params_unittest.cc
  116. omaha_response.h
  117. omaha_response_handler_action.cc
  118. omaha_response_handler_action.h
  119. omaha_response_handler_action_unittest.cc
  120. OWNERS
  121. p2p_manager.cc
  122. p2p_manager.h
  123. p2p_manager_unittest.cc
  124. payload_constants.cc
  125. payload_constants.h
  126. payload_state.cc
  127. payload_state.h
  128. payload_state_interface.h
  129. payload_state_unittest.cc
  130. payload_verifier.cc
  131. payload_verifier.h
  132. postinstall_runner_action.cc
  133. postinstall_runner_action.h
  134. postinstall_runner_action_unittest.cc
  135. prefs.cc
  136. prefs.h
  137. prefs_interface.h
  138. prefs_unittest.cc
  139. proxy_resolver.cc
  140. proxy_resolver.h
  141. real_dbus_wrapper.h
  142. real_system_state.cc
  143. real_system_state.h
  144. run_unittests
  145. sample_omaha_v3_response.xml
  146. subprocess.cc
  147. subprocess.h
  148. subprocess_unittest.cc
  149. system_state.h
  150. terminator.cc
  151. terminator.h
  152. terminator_unittest.cc
  153. test_http_server.cc
  154. test_utils.cc
  155. test_utils.h
  156. test_utils_unittest.cc
  157. testrunner.cc
  158. unittest_key.pem
  159. unittest_key2.pem
  160. update_attempter.cc
  161. update_attempter.h
  162. update_attempter_unittest.cc
  163. update_engine.conf
  164. update_engine.gyp
  165. update_engine_client.cc
  166. update_metadata.proto
  167. UpdateEngine.conf
  168. utils.cc
  169. utils.h
  170. utils_unittest.cc
  171. WATCHLISTS
  172. zip_unittest.cc