summaryrefslogtreecommitdiff
path: root/payload_consumer/install_plan.cc
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2021-06-09 05:18:08 -0700
committerLinux Build Service Account <lnxbuild@localhost>2021-06-09 05:18:08 -0700
commitf476d74eefab00e5b40d54513a2621e664c70ddf (patch)
tree01ec931931503ed80f181b2d85efb5df0079e4ba /payload_consumer/install_plan.cc
parent0482fa15f58c1de5ead9e0e3e2aa1d593d18e6c2 (diff)
parentac7fc8e1debff1f57afe79f144d8d16a1a0ec470 (diff)
Merge ac7fc8e1debff1f57afe79f144d8d16a1a0ec470 on remote branch
Change-Id: I2cd41cefedfd492f9e20617ad9929ebf1cdde79e
Diffstat (limited to 'payload_consumer/install_plan.cc')
-rw-r--r--payload_consumer/install_plan.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/payload_consumer/install_plan.cc b/payload_consumer/install_plan.cc
index 39827a4a..06b7dd8c 100644
--- a/payload_consumer/install_plan.cc
+++ b/payload_consumer/install_plan.cc
@@ -122,6 +122,7 @@ string InstallPlan::ToString() const {
partition.target_hash.size())},
{"run_postinstall", utils::ToString(partition.run_postinstall)},
{"postinstall_path", partition.postinstall_path},
+ {"readonly_target_path", partition.readonly_target_path},
{"filesystem_type", partition.filesystem_type},
},
"\n "));
@@ -165,7 +166,7 @@ bool InstallPlan::LoadPartitionsFromSlots(BootControlInterface* boot_control) {
partition.name, target_slot, source_slot);
TEST_AND_RETURN_FALSE(device.has_value());
partition.target_path = device->rw_device_path;
- partition.postinstall_mount_device = device->mountable_device_path;
+ partition.readonly_target_path = device->readonly_device_path;
} else {
partition.target_path.clear();
}