forked from openkylin/platform_build
Fix the broken script in AssertFingerprintOrThumbprint.
Bug: 62252466
Test: Re-generate an incremental OTA that goes from the fingerprint to
thumbprint, and check the updater-script.
Change-Id: I6e2cbf68cbd22fbcf0d200fc3fdc8a33da510a53
(cherry picked from commit d2d01e519e
)
This commit is contained in:
parent
fccf4ec06e
commit
9c6ab6c49b
|
@ -130,7 +130,7 @@ class EdifyGenerator(object):
|
|||
' getprop("ro.build.thumbprint") == "{tp}" ||\n'
|
||||
' abort("Package expects build fingerprint of {fp} or '
|
||||
'thumbprint of {tp}; this device has a fingerprint of " '
|
||||
'+ getprop("ro.build.fingerprint") and a thumbprint of " '
|
||||
'+ getprop("ro.build.fingerprint") + " and a thumbprint of " '
|
||||
'+ getprop("ro.build.thumbprint") + ".");').format(fp=fp, tp=tp)
|
||||
self.script.append(cmd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue