diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-02-14 19:01:30 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-01-02 18:17:56 +0100 |
commit | 732da233f3e2d8779adeb18ef10091f92691559a (patch) | |
tree | 54dc8a6c8707679e1a5f6e18ef3659f388a7ba2f /tools | |
parent | f2241c6dc2d910e01f911b932c0d73a68e10f9d5 (diff) | |
download | build-732da233f3e2d8779adeb18ef10091f92691559a.tar.gz build-732da233f3e2d8779adeb18ef10091f92691559a.tar.bz2 build-732da233f3e2d8779adeb18ef10091f92691559a.zip |
rename release key dir to replicant
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/releasetools/edify_generator.py | 2 | ||||
-rwxr-xr-x | tools/releasetools/ota_from_target_files.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/releasetools/edify_generator.py b/tools/releasetools/edify_generator.py index ca06c8a98..8ecc55127 100644 --- a/tools/releasetools/edify_generator.py +++ b/tools/releasetools/edify_generator.py @@ -151,7 +151,7 @@ class EdifyGenerator(object): self.script.append(('run_program("/tmp/install/bin/backuptool.sh", "%s");' % command)) def ValidateSignatures(self, command): - self.script.append('package_extract_file("META-INF/org/lineageos/releasekey", "/tmp/releasekey");') + self.script.append('package_extract_file("META-INF/org/replicant/releasekey", "/tmp/releasekey");') # Exit code 124 == abort. run_program returns raw, so left-shift 8bit self.script.append('run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can\'t install this package on top of incompatible data. Please try another package or run a factory reset");') diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index 7e0df56d8..dbc416648 100755 --- a/tools/releasetools/ota_from_target_files.py +++ b/tools/releasetools/ota_from_target_files.py @@ -755,7 +755,7 @@ endif; common.ZipWriteStr(output_zip, "system/build.prop", ""+input_zip.read("SYSTEM/build.prop")) - common.ZipWriteStr(output_zip, "META-INF/org/lineageos/releasekey", + common.ZipWriteStr(output_zip, "META-INF/org/replicant/releasekey", ""+input_zip.read("META/releasekey.txt")) def WritePolicyConfig(file_name, output_zip): |