releasetools: build_super_image.py should unpack */build.prop
build_super_image.py attempts to retrieve the "ro.product.device" property, which requires parsing the */build.prop files from the target files package. This fixes the following error: "ExternalError: couldn't resolve ro.product.device" Test: ./otatools/releasetools/build_super_image.py -p ./otatools aosp_arm64-target_files.zip super.img Change-Id: I592524a27b1a4e7544644b1a344071cff9718942
This commit is contained in:
@@ -55,7 +55,7 @@ if sys.hexversion < 0x02070000:
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
UNZIP_PATTERN = ["IMAGES/*", "META/*"]
|
||||
UNZIP_PATTERN = ["IMAGES/*", "META/*", "*/build.prop"]
|
||||
|
||||
|
||||
def GetPartitionSizeFromImage(img):
|
||||
|
Reference in New Issue
Block a user