summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-14 18:01:30 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-02 17:17:56 (GMT)
commit732da233f3e2d8779adeb18ef10091f92691559a (patch)
tree54dc8a6c8707679e1a5f6e18ef3659f388a7ba2f
parentf2241c6dc2d910e01f911b932c0d73a68e10f9d5 (diff)
downloadbuild-732da233f3e2d8779adeb18ef10091f92691559a.zip
build-732da233f3e2d8779adeb18ef10091f92691559a.tar.gz
build-732da233f3e2d8779adeb18ef10091f92691559a.tar.bz2
rename release key dir to replicant
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--tools/releasetools/edify_generator.py2
-rwxr-xr-xtools/releasetools/ota_from_target_files.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/releasetools/edify_generator.py b/tools/releasetools/edify_generator.py
index ca06c8a..8ecc551 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 7e0df56..dbc4166 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):