Exclude new AOSP partitions from OTA firmware extraction

This commit is contained in:
flawedworld 2022-10-15 15:21:47 +01:00 committed by Daniel Micay
parent 92a2fba693
commit 49ca4d437f

View file

@ -114,10 +114,12 @@ def main(filename, output_dir):
blacklist_partitions = ["boot", blacklist_partitions = ["boot",
"dtbo", "dtbo",
"init_boot",
"persist", "persist",
"product", "product",
"recovery", "recovery",
"system", "system",
"system_dlkm",
"system_ext", "system_ext",
"userdata", "userdata",
"vbmeta", "vbmeta",
@ -125,7 +127,8 @@ def main(filename, output_dir):
"vbmeta_vendor", "vbmeta_vendor",
"vendor", "vendor",
"vendor_boot", "vendor_boot",
"vendor_dlkm"] "vendor_dlkm",
"vendor_kernel_boot"]
for p in payload.manifest.partitions: for p in payload.manifest.partitions:
if p.partition_name in blacklist_partitions: if p.partition_name in blacklist_partitions: