Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31289f0b authored by Romain Hunault's avatar Romain Hunault
Browse files

Rebrand to eelo

parent c5248e21
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2222,7 +2222,7 @@ $(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE)
	   $(if $(OEM_OTA_CONFIG), -o $(OEM_OTA_CONFIG)) \
	   $(BUILT_TARGET_FILES_PACKAGE) $@

CM_TARGET_PACKAGE := $(PRODUCT_OUT)/lineage-$(LINEAGE_VERSION).zip
CM_TARGET_PACKAGE := $(PRODUCT_OUT)/eelo-$(EELO_VERSION).zip

.PHONY: otapackage bacon
otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
print_build_config_vars := \
  PLATFORM_VERSION_CODENAME \
  PLATFORM_VERSION \
  LINEAGE_VERSION \
  EELO_VERSION \
  TARGET_PRODUCT \
  TARGET_BUILD_VARIANT \
  TARGET_BUILD_TYPE \
+1 −1
Original line number Diff line number Diff line
@@ -166,7 +166,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/eelo/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");')

+1 −1
Original line number Diff line number Diff line
@@ -829,7 +829,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/eelo/releasekey",
                     ""+input_zip.read("META/releasekey.txt"))

def WritePolicyConfig(file_name, output_zip):