Home | History | Annotate | Download | only in payload_generator

Lines Matching refs:part

80   for (PartitionConfig& part : partitions) {
81 if (part.path.empty())
83 part.size = utils::FileSize(part.path);
90 for (PartitionConfig& part : partitions) {
92 if (!store.GetBoolean("RUN_POSTINSTALL_" + part.name, &run_postinstall) ||
96 part.postinstall.run = true;
97 store.GetString("POSTINSTALL_PATH_" + part.name, &part.postinstall.path);
98 store.GetString("FILESYSTEM_TYPE_" + part.name,
99 &part.postinstall.filesystem_type);
100 store.GetBoolean("POSTINSTALL_OPTIONAL_" + part.name,
101 &part.postinstall.optional);
190 for (const PartitionConfig& part : source.partitions) {
191 if (!part.path.empty()) {
192 TEST_AND_RETURN_FALSE(part.ValidateExists());
193 TEST_AND_RETURN_FALSE(part.size % block_size == 0);
196 TEST_AND_RETURN_FALSE(part.postinstall.IsEmpty());
208 for (const PartitionConfig& part : target.partitions) {
209 TEST_AND_RETURN_FALSE(part.ValidateExists());
210 TEST_AND_RETURN_FALSE(part.size % block_size == 0);
212 part.name == kLegacyPartitionNameRoot)
213 TEST_AND_RETURN_FALSE(rootfs_partition_size >= part.size);
215 TEST_AND_RETURN_FALSE(part.postinstall.IsEmpty());