This commit is contained in:
parent
1b8b1d7261
commit
03cf86d20b
29
README.md
29
README.md
@ -2,4 +2,31 @@
|
|||||||
|
|
||||||
# lineageos-ota-server
|
# 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
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user