summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-14 19:01:30 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-14 19:01:30 +0100
commitc635f4605298d703c2f7ddf6abc3210e6aa92f30 (patch)
tree08c21cb41486554baef286fd0d2073f6bfc08aa2
parentca7b2d2089ddb2e62cfd88fe926c5bd9f4ff0c1b (diff)
downloadbuild-c635f4605298d703c2f7ddf6abc3210e6aa92f30.zip
build-c635f4605298d703c2f7ddf6abc3210e6aa92f30.tar.gz
build-c635f4605298d703c2f7ddf6abc3210e6aa92f30.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 8025235..e0f0a98 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 66db227..293bd00 100755
--- a/tools/releasetools/ota_from_target_files.py
+++ b/tools/releasetools/ota_from_target_files.py
@@ -745,7 +745,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):