Android Q: Dynamic Partitions

Talk by Google’s David Anderson at Linux Plumber’s Conf, see LPC Schedule for more, video at YouTube.
PDF: Dynamic Partitions.

Buildvars:

PRODUCT_USE_DYNAMIC_PARTITIONS
PRODUCT_USE_DYNAMIC_PARTITION_SIZE
PRODUCT_RETROFIT_DYNAMIC_PARTITIONS
PRODUCT_BUILD_SUPER_PARTITION

Need to unset BOARD_BUILD_SYSTEM_ROOT_IMAGE, TARGET_NO_RECOVERY is unaffected.

AOSP build/make: Unset system-as-root for mainline:

-BOARD_BUILD_SYSTEM_ROOT_IMAGE := true

This flag is not allowed to be true when dynamic partitions are enabled, which mainline devices are expected to do.

Published by