add option to specify updater binary, for development
Change-Id: I5f239afff70c87fb16ddc4b8abefa7bbcda6040d
This commit is contained in:
@@ -305,7 +305,7 @@ class EdifyGenerator(object):
|
||||
if input_path is None:
|
||||
data = input_zip.read("OTA/bin/updater")
|
||||
else:
|
||||
data = open(os.path.join(input_path, "updater")).read()
|
||||
data = open(input_path, "rb").read()
|
||||
common.ZipWriteStr(output_zip, "META-INF/com/google/android/update-binary",
|
||||
data, perms=0755)
|
||||
|
||||
|
Reference in New Issue
Block a user