From b0ee6d5f59c805b297b0b2bc447d36a2f9cb69af Mon Sep 17 00:00:00 2001 From: Pete Fotheringham Date: Mon, 13 Jan 2025 09:33:37 +0100 Subject: [PATCH] 'Example` moved to the wiki --- README.md | 124 ------------------------------------------------------ 1 file changed, 124 deletions(-) diff --git a/README.md b/README.md index e963eee7..8fe732e7 100644 --- a/README.md +++ b/README.md @@ -4,130 +4,6 @@ Docker microservice for LineageOS Continuous Integration and Continuous Deployme See [the wiki](https://github.com/lineageos4microg/docker-lineage-cicd/wiki) for updated documentation - - -## Examples - -### Build for river (lineage-18.1, officially supported), test keys, no patches - -```sh -docker run \ - -e "BRANCH_NAME=lineage-18.1" \ - -e "DEVICE_LIST=river" \ - -v "/home/user/lineage:/srv/src" \ - -v "/home/user/zips:/srv/zips" \ - -v "/home/user/logs:/srv/logs" \ - -v "/home/user/cache:/srv/ccache" \ - lineageos4microg/docker-lineage-cicd -``` - -### Build for bacon (lineage-17.1, officially supported), custom keys, restricted signature spoofing with integrated microG and FDroid - -```sh -docker run \ - -e "BRANCH_NAME=lineage-17.1" \ - -e "DEVICE_LIST=bacon" \ - -e "SIGN_BUILDS=true" \ - -e "SIGNATURE_SPOOFING=restricted" \ - -e "WITH_GMS=true" \ - -v "/home/user/lineage:/srv/src" \ - -v "/home/user/zips:/srv/zips" \ - -v "/home/user/logs:/srv/logs" \ - -v "/home/user/cache:/srv/ccache" \ - -v "/home/user/keys:/srv/keys" \ - -v "/home/user/manifests:/srv/local_manifests" \ - lineageos4microg/docker-lineage-cicd -``` - -If there are already keys in `/home/user/keys` they will be used, otherwise a -new set will be generated before starting the build (and will be used for every -subsequent build). - -The microG and FDroid packages are not present in the LineageOS repositories, -and must be provided e.g. through [android_vendor_partner_gms][android_vendor_partner_gms]. - - -### Build for four devices on lineage-17.1 and lineage-18.1 (officially supported), custom keys, restricted signature spoofing with integrated microG and FDroid, custom OTA server - -```sh -docker run \ - -e "BRANCH_NAME=lineage-17.1,lineage-18.1" \ - -e "DEVICE_LIST_LINEAGE_17_1=bacon,oneplus2" \ - -e "DEVICE_LIST_LINEAGE_18_1=river,lake" \ - -e "SIGN_BUILDS=true" \ - -e "SIGNATURE_SPOOFING=restricted" \ - -e "WITH_GMS=true" \ - -e "OTA_URL=https://api.myserver.com/" \ - -v "/home/user/lineage:/srv/src" \ - -v "/home/user/zips:/srv/zips" \ - -v "/home/user/logs:/srv/logs" \ - -v "/home/user/cache:/srv/ccache" \ - -v "/home/user/keys:/srv/keys" \ - -v "/home/user/manifests:/srv/local_manifests" \ - lineageos4microg/docker-lineage-cicd -``` - -### Build for a6000 (not officially supported), custom keys, restricted signature spoofing with integrated microG and FDroid - -As there is no official support for this device, we first have to include the -sources in the source tree through an XML in the `/home/user/manifests` folder; -from [this][a6000-xda] thread we get the links of: - - * Device tree: https://github.com/dev-harsh1998/android_device_lenovo_a6000 - * Common Tree: https://github.com/dev-harsh1998/android_device_lenovo_msm8916-common - * Kernel: https://github.com/dev-harsh1998/kernel_lenovo_msm8916 - * Vendor blobs: https://github.com/dev-harsh1998/proprietary-vendor_lenovo - -Then, with the help of lineage.dependencies from the -[device tree][a6000-device-tree-deps] and the -[common tree][a6000-common-tree-deps] we create an XML -`/home/user/manifests/a6000.xml` with this content: - -```xml - - - - - - - - -``` - -We also want to include microG so, like before, create an XML (for -example `/home/user/manifests/microg.xml`) with this content: - -```xml - - - - -``` - -We also set `INCLUDE_PROPRIETARY=false`, as the proprietary blobs are already -provided by the repo -https://github.com/dev-harsh1998/prorietary_vendor_lenovo (so we -don't have to include the TheMuppets repo). - -Now we can just run the build like it was officially supported: - -```sh -docker run \ - -e "BRANCH_NAME=lineage-15.1" \ - -e "DEVICE_LIST=a6000" \ - -e "SIGN_BUILDS=true" \ - -e "SIGNATURE_SPOOFING=restricted" \ - -e "WITH_GMS=true" \ - -e "INCLUDE_PROPRIETARY=false" \ - -v "/home/user/lineage:/srv/src" \ - -v "/home/user/zips:/srv/zips" \ - -v "/home/user/logs:/srv/logs" \ - -v "/home/user/cache:/srv/ccache" \ - -v "/home/user/keys:/srv/keys" \ - -v "/home/user/manifests:/srv/local_manifests" \ - lineageos4microg/docker-lineage-cicd -``` - # Web Site text The following should be published on [the LineageOS for microG website](https://lineage.microg.org/). It is included here until the website can be updated