erhan- / docker-lineageos-raphael

Build LineageOS for raphael with Docker
6 stars 5 forks source link

branch lineage-20 isn't suppported #6

Open BhattJayD opened 1 year ago

BhattJayD commented 1 year ago

hi while running

sudo ./build.sh 

got below error Set cache size limit to 60.0 GB

[Sat Sep 23 14:05:29 UTC 2023] Building branch lineage-20 is not (yet) suppported

my raphael.xml looks like this

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <!-- Device Specific Repos -->
  <project path="device/xiaomi/raphael" name="penglezos/device_xiaomi_raphael" remote="github" revision="lineage-20" />
  <project path="vendor/xiaomi/raphael" name="penglezos/vendor_xiaomi_raphael" remote="github" revision="lineage-20" />
  <project path="kernel/xiaomi/raphael" name="penglezos/kernel_xiaomi_raphael" remote="github" revision="lineage-20" />
  <project path="hardware/xiaomi" name="LineageOS/android_hardware_xiaomi" remote="github" revision="lineage-20" />

</manifest>

and i have modify build script

  GNU nano 6.2                                                                                          build.sh                                                                                                   
#!/bin/bash

mkdir -p volume/lineage
mkdir -p volume/zips
mkdir -p volume/logs
mkdir -p volume/cache
mkdir -p volume/keys
mkdir -p volume/manifests

docker run \
    -e "BRANCH_NAME=lineage-20" \
    -e "DEVICE_LIST=raphael" \
    -e "SIGN_BUILDS=true" \
    -e "INCLUDE_PROPRIETARY=false" \
    -e "CCACHE_SIZE=60G" \
    -e "WITH_SU=true" \
    -e "RELEASE_TYPE=UNOFFICIAL" \
    -v "./volume/lineage:/srv/src" \
    -v "./volume/zips:/srv/zips" \
    -v "./volume/logs:/srv/logs" \
    -v "./volume/cache:/srv/ccache" \
    -v "./volume/keys:/srv/keys" \
    -v "./volume/manifests:/srv/local_manifests" \
    lineageos4microg/docker-lineage-cicd

changed branch name to

 -e "BRANCH_NAME=lineage-20" 
erhan- commented 1 year ago

Sorry, I dont use the phone anymore.