Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f43fa9dd authored by Steven Laver's avatar Steven Laver
Browse files

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
parent 8adf5019
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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):