Skip to content

Instantly share code, notes, and snippets.

@ElXreno
Last active February 8, 2021 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ElXreno/04d2be53dd8e28eb91667995caa79c2e to your computer and use it in GitHub Desktop.
Save ElXreno/04d2be53dd8e28eb91667995caa79c2e to your computer and use it in GitHub Desktop.
Manifests and build script for Lavender
# I know, with disabled selinux it's not secure, but it takes too much time to relabel all files
podman run --rm --security-opt label=disable --name lineage-build \
-e "BRANCH_NAME=lineage-17.1" \
-e "DEVICE_LIST=lavender" \
-e "SIGN_BUILDS=true" \
-e "CLEAN_AFTER_BUILD=false" \
-e "JAVA_TOOL_OPTIONS=-Xmx4G" \
-e "SIGNATURE_SPOOFING=restricted" \
-e "SUPPORT_UNIFIEDNLP=true" \
-e "CUSTOM_PACKAGES=GmsCore GsfProxy FakeStore DroidGuard DejaVuNlpBackend MozillaNlpBackend NominatimNlpBackend RadiocellsNlpBackend GoogleBackupTransport GoogleCalendarSync GoogleContactsSync com.google.android.maps.jar FDroid FDroidPrivilegedExtension additional_repos.xml" \
-e "INCLUDE_PROPRIETARY=false" \
-v "/mnt/android-build-ssd/ccache:/srv/ccache" \
-v "/mnt/android-build-ssd/podman/src:/srv/src" \
-v "/mnt/android-build-ssd/podman/zips:/srv/zips" \
-v "/mnt/android-build-ssd/podman/logs:/srv/logs" \
-v "/mnt/android-build-ssd/podman/keys:/srv/keys" \
-v "/mnt/android-build-ssd/podman/manifests:/srv/local_manifests" \
-v "/mnt/android-build/podman/src/LINEAGE_17_1/out:/srv/src/LINEAGE_17_1/out" \
docker-lineage-cicd
podman run --rm --security-opt label=disable --name lineage-build \
-e "BRANCH_NAME=lineage-17.1" \
-e "DEVICE_LIST=lavender" \
-e "SIGN_BUILDS=true" \
-e "CLEAN_AFTER_BUILD=false" \
-e "JAVA_TOOL_OPTIONS=-Xmx8G" \
-e "INCLUDE_PROPRIETARY=false" \
-v "/mnt/android-build-ssd/ccache:/srv/ccache" \
-v "/mnt/android-build-ssd/podman/src:/srv/src" \
-v "/mnt/android-build-ssd/podman/zips:/srv/zips" \
-v "/mnt/android-build-ssd/podman/logs:/srv/logs" \
-v "/mnt/android-build-ssd/podman/keys:/srv/keys" \
-v "/mnt/android-build-ssd/podman/manifests:/srv/local_manifests" \
-v "/mnt/android-build/podman/src/LINEAGE_17_1/out:/srv/src/LINEAGE_17_1/out" \
docker-lineage-cicd
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="prebuilts/clang/host/linux-x86/clang-r407598b" name="crdroidandroid/android_prebuilts_clang_host_linux-x86_clang-7095922" clone-depth="1" remote="github" revision="11.0" />
</manifest>
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/xiaomi/lavender" name="ElXreno/android_device_xiaomi_lavender" clone-depth="1" remote="github" revision="lineage-18.1" />
<project path="vendor/xiaomi/lavender" name="ElXreno/android_vendor_xiaomi_lavender" clone-depth="1" remote="github" revision="lineage-18.1" />
<project path="kernel/xiaomi/sdm660" name="ElXreno/android_kernel_xiaomi_sdm660" clone-depth="1" remote="github" revision="lineage-18.1" />
<project path="device/xiaomi/sdm660-common" name="ElXreno/android_device_xiaomi_sdm660-common" clone-depth="1" remote="github" revision="lineage-18.1" />
<project path="vendor/xiaomi/sdm660-common" name="ElXreno/android_vendor_xiaomi_sdm660-common" clone-depth="1" remote="github" revision="lineage-18.1" />
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment