summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2017-04-17 22:17:09 +0800
committerBowgo Tsai <bowgotsai@google.com>2017-04-25 22:46:03 +0800
commit682f8ba398aaba3f6d1aab493233fcfd7bd0e7c4 (patch)
treee812a6adf64704e496bd2e51c2c1e511cdff0154 /base/errors_unix.cpp
parenta66d1bcd0e41ac9039025231589a926f93475bd0 (diff)
init: moving early mount logic into init_first_stage.cpp
Also renames "early mount" to "first stage mount" to prevent confusion with "mount_all --early", which is run in the init second stage. Also creates a base class: FirstStageMount and two derived classes: FirstStageMountVBootV1 and FirstStageMountVBootV2 to replace/refactor existing functions: - early_mount() -> DoFirstStageMount() and FirstStageMount::DoFirstStageMount() - vboot_1_0_early_partitions -> FirstStageMountVBootV1::GetRequiredDevices() - vboot_2_0_early_partitions -> FirstStageMountVBootV2::GetRequiredDevices() - vboot_1_0_mount_partitions -> FirstStageMount::MountPartitions() and FirstStageMountVBootV1::SetUpDmVerity() - vboot_2_0_mount_partitions -> FirstStageMount::MountPartitions() and FirstStageMountVBootV2::SetUpDmVerity() Bug: 37413399 Test: first stage mount /vendor with vboot 2.0 (avb) on bullhead Test: first stage mount /system with without verity on bullhead Test: first stage mount /vendor with vboot 1.0 on sailfish Change-Id: I6584bdf7d832c9fbc8740f97c9b8b94e68a90783 Merged-In: I6584bdf7d832c9fbc8740f97c9b8b94e68a90783 (cherry picked from commit d262017fef0761e6cf6d1e449fa088338cdc68e6)
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions