Update readme
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Steven Polley 2023-06-04 13:54:19 -06:00
parent 1b8b1d7261
commit 03cf86d20b
1 changed files with 28 additions and 1 deletions

View File

@ -2,4 +2,31 @@
# lineageos-ota-server
OTA Server for LineageOS
OTA Server for LineageOS.
### How to point device to OTA server
We include the URL as a system build.prop by doing the following:
Create new file /data/android/lineage/vendor/lineage/build/core/deadbeef-ota.mk
```makefile
# deadbeef.codes LineageOS OTA update server
ADDITIONAL_SYSTEM_PROPERTIES += \
lineage.updater.uri=https://lineageos-ota.deadbeef.codes
```
Edit /data/android/lineage/vendor/lineage/build/core/main.mk to include deadbeef-ota.mk
```makefile
# Include LineageOS versions
include $(TOPDIR)vendor/lineage/build/core/main_version.mk
# Include deadbeef.codes OTA server
include $(TOPDIR)vendor/lineage/build/core/deadbeef-ota.mk
```