From 5b0a6d54033f01fc1df27d36f1daf231537a4398 Mon Sep 17 00:00:00 2001 From: SebaUbuntu Date: Sat, 9 Mar 2024 17:36:17 +0100 Subject: [PATCH] sdm710-common: Pretend to be launched with dynamic partitions A dist build fails on a-only devices with retrofit dynamic partitions due to [1]. The check does not take a-only devices into account, even though they are capable of retrofit aswell. While the PRODUCT_RETROFIT_DYNAMIC_PARTITIONS flag is used to detect and warn about misconfigurations, it does not seem to be needed for any retrofit functionality. Hence, to avoid changes in releasetools, drop the flag. [1]: https://github.com/LineageOS/android_build/blob/055b7692fb8b8830991774ed0d68a94abd76c335/tools/releasetools/check_partition_sizes.py#L185 Change-Id: Ib0dfe4ee3da4c583d924d85a79d5ec37a2f9ba87 --- sdm710.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/sdm710.mk b/sdm710.mk index daafc0d..f9dc3fa 100644 --- a/sdm710.mk +++ b/sdm710.mk @@ -238,7 +238,6 @@ PRODUCT_PACKAGES += \ # Dynamic Partitions PRODUCT_BUILD_SUPER_PARTITION := false PRODUCT_USE_DYNAMIC_PARTITIONS := true -PRODUCT_RETROFIT_DYNAMIC_PARTITIONS := true PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/flash_super_dummy.sh:install/bin/flash_super_dummy.sh