Build image for clean super partition.
This adds a new super_empty.img output to the build when PRODUCT_USE_LOGICAL_PARTITIONS is true and a super partition size is set. This will be used by fastboot flashall in fastbootd, since it needs a record of the partition layout in case the super partition is corrupt or not yet flashed. Unlike the full super.img, super_empty.img is not a sparse image. It contains the minimal data sequence needed to format the super partition. It also does not contain partition sizes, since flashing is responsible for choosing the correct partition size. The full super.img (which contains embedded partition data) is still available via "make dist". Bug: 78793464 Test: super_empty.img generated when PRODUCT_USE_LOGICAL_PARTITIONS is true. mmm system/extras/partition_tools && lpdump super_empty.img works Change-Id: I34e915a1fead806287dde554d190474785e52500
Loading
Please register or sign in to comment