Merge branch 'fpe-ota-update-zip' into 'master'

F-Droid Privileged Extension OTA update ZIP

This is not actually an APK, but an OTA (Over-The-Air) update ZIP file that is meant to be flashed onto the /system partition using the recovery. This is the first non-APK to be built and included in the f-droid.org repo.
    
This relies on the buildserver running fdroidserver that includes:
https://gitlab.com/fdroid/fdroidserver/merge_requests/181

This should use the exact same signing key as org.fdroid.fdroid.privileged, but the APK signing key can change for the update.zip, since upgrades do not happen via the normal method, and instead the update.zip will remove the current APK and replace it with the current one without a signature check. https://gitlab.com/fdroid/fdroidserver/issues/233

See merge request !1804
This commit is contained in:
Boris Kraut 2016-11-07 23:20:19 +00:00
commit 6033ec546a
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,47 @@
Categories:System
License:Apache2
Web Site:https://f-droid.org
Source Code:https://gitlab.com/fdroid/privileged-extension
Issue Tracker:https://gitlab.com/fdroid/privileged-extension/issues
Donate:https://f-droid.org/about
FlattrID:343053
Bitcoin:15u8aAPK4jJ5N8wpWJ5gutAyyeHtKX5i18
Auto Name:F-Droid Privileged Extension
Summary:Help F-Droid acquire system privileges
Description:
'''Note:''' F-Droid will need root privileges to install this app as a system
app.
[[org.fdroid.fdroid]] can make use of system privileges or permissions to
install, update and remove applications on its own. The only way to obtain those
privileges is to become a system app.
This is where the Privileged Extension comes in - being a separate app and much
smaller, it can be installed as a system app and communicate with the main app
via AIDL IPC.
This has several advantages:
* Reduced disk usage in the system partition
* System updates don't remove F-Droid
* The process of installing into system via root is safer
This is packaged as an OTA (Over-The-Air) update ZIP file. It must be installed
using TWRP or other Android recovery that can flash updates to the system from
the /data/data/org.fdroid.fdroid folder on the /data partition. The standalone
APK is called [[org.fdroid.fdroid.privileged]].
.
Repo Type:git
Repo:https://gitlab.com/fdroid/privileged-extension.git
Build:0.2,2000
commit=0.2
output=app/build/distributions/FDroidPrivilegedExtension-0.2.zip
build=gradle updateZipRelease
Auto Update Mode:Version %v
Update Check Mode:Tags
Current Version:0.2
Current Version Code:2000

View file

@ -26,6 +26,9 @@ This has several advantages:
* Reduced disk usage in the system partition
* System updates don't remove F-Droid
* The process of installing into system via root is safer
Instead of this build, most users will want to install the "Over-The-Air" (OTA)
update zip file is called [[org.fdroid.fdroid.privileged.ota]].
.
Repo Type:git