diff options
author | Doug Zongker <dougz@android.com> | 2014-03-03 10:21:27 -0800 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2014-03-03 10:21:27 -0800 |
commit | 25568486e5777f416d2fcb6cc7aa96caafc66880 (patch) | |
tree | 29b40f08bb5ccf71a82b179a3f16a579d853ceb0 /tools/releasetools/edify_generator.py | |
parent | 36ac26a014263361c8388219c86c55b4962840ba (diff) | |
download | build-25568486e5777f416d2fcb6cc7aa96caafc66880.zip build-25568486e5777f416d2fcb6cc7aa96caafc66880.tar.gz build-25568486e5777f416d2fcb6cc7aa96caafc66880.tar.bz2 |
add option to specify updater binary, for development
Change-Id: I5f239afff70c87fb16ddc4b8abefa7bbcda6040d
Diffstat (limited to 'tools/releasetools/edify_generator.py')
-rw-r--r-- | tools/releasetools/edify_generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/releasetools/edify_generator.py b/tools/releasetools/edify_generator.py index a5340a0..7978062 100644 --- a/tools/releasetools/edify_generator.py +++ b/tools/releasetools/edify_generator.py @@ -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) |