Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29dd157d authored by Romain Hunault's avatar Romain Hunault
Browse files

Add MIRROR_URL variable

parent 331de30e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -44,6 +44,9 @@ ENV RELEASE_TYPE 'UNOFFICIAL'
# Repo use for build
ENV REPO_URL 'https://github.com/LineageOS/android.git'

# Repo use for build
ENV MIRROR_URL 'https://github.com/LineageOS/mirror'

# OTA URL that will be used inside CMUpdater
# Use this in combination with LineageOTA to make sure your device can auto-update itself from this buildbot
ENV OTA_URL ''
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ if [ "$LOCAL_MIRROR" = true ]; then

  if [ ! -d .repo ]; then
    echo ">> [$(date)] Initializing mirror repository" | tee -a "$repo_log"
    yes | repo init -u https://github.com/LineageOS/mirror --mirror --no-clone-bundle -p linux &>> "$repo_log"
    yes | repo init -u "$MIRROR_URL" --mirror --no-clone-bundle -p linux &>> "$repo_log"
  fi

  # Copy local manifests to the appropriate folder in order take them into consideration