diff options
| author | 2019-11-14 15:42:10 -0800 | |
|---|---|---|
| committer | 2019-11-14 23:47:31 +0000 | |
| commit | f43fa9dd997fe1fb4e64d2b48f4fa5477c9932ab (patch) | |
| tree | f828376fc1abac1c4ba932afc1352d477b0a2904 | |
| parent | 8adf50190504b8a983626944aaacc8bf6ea443db (diff) | |
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
| -rwxr-xr-x | tools/releasetools/build_super_image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/build_super_image.py b/tools/releasetools/build_super_image.py index 38ea3d68e4..99c056383b 100755 --- a/tools/releasetools/build_super_image.py +++ b/tools/releasetools/build_super_image.py @@ -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): |