Skip to content

OTA ZIP release from binaries

This changes only the gradle files in order to provide a workable process for making an official OTA "Over-The-Air" update ZIP file so people can easily flash F-Droid to a ROM like they do gapps. This will then be built using the normal f-droid.org process and posted here: https://f-droid.org/repository/browse/?fdid=org.fdroid.fdroid.privileged.ota

Right now, updateZipTask will build the APK then include it in the ZIP. That happens on the buildserver. The signing is on a totally separate machine after the build is complete, so this is tricky. I can think of a two approaches:

  1. the org.fdroid.fdroid.privileged.ota job just downloads the org.fdroid.fdroid.privileged APK and includes it into the ZIP
  2. when publishing the OTA ZIP file, the signing process extracts the APK from the ZIP, grabs the signature from the org.fdroid.fdroid.privileged APK, inserts it into this APK, then puts it back into the ZIP

This merge request implements the first approach to getting the official OTA update ZIP created.

@relan @krt @CiaranG

Merge request reports