Loading Dockerfile +6 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,10 @@ ENV RELEASE_TYPE 'UNOFFICIAL' # Repo use for build ENV REPO 'https://gitlab.e.foundation/e/os/android.git' ENV LINEAGE_REPO 'https://github.com/LineageOS/android.git' # If we have a change ref for lineage like refs/changes/42/436442/31 ENV CHANGE_REF='' # Optional parameter to repo init --depth N # A size of 0 deactivates --depth N Loading Loading @@ -145,6 +149,8 @@ ENV BUILD_FLASH_PACKAGE false # specify a custom manifest URL ENV REPO_CUSTOM_MANIFEST false # Build lineage from source ENV IS_LINEAGE_BUILD false # You can optionally specify a USERSCRIPTS_DIR volume containing these scripts: # * begin.sh, run at the very beginning Loading src/build.sh +16 −3 Original line number Diff line number Diff line Loading @@ -180,9 +180,22 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then REPO_GROUPS="" fi # Repo init branch INIT_REPO=$REPO INIT_BRANCH=${TAG_PREFIX}${BRANCH_NAME} if [ "$IS_LINEAGE_BUILD" = true ]; then INIT_REPO=$LINEAGE_REPO fi # If you have a change ref, override INIT_BRANCH if [ -n "$CHANGE_REF" ]; then INIT_BRANCH=$CHANGE_REF fi # Repo init source echo ">> [$(date)] Running: repo init $REPO_INIT_PARAM -u \"$REPO\" -b \"${TAG_PREFIX}${BRANCH_NAME}\" $REPO_GROUPS" yes | repo init $REPO_INIT_PARAM -u "$REPO" -b "${TAG_PREFIX}${BRANCH_NAME}" $REPO_GROUPS echo ">> [$(date)] Running: repo init $REPO_INIT_PARAM -u \"$INIT_REPO\" -b \"${INIT_BRANCH}\" $REPO_GROUPS" yes | repo init $REPO_INIT_PARAM -u "$INIT_REPO" -b "${INIT_BRANCH}" $REPO_GROUPS if [ "$REPO_CUSTOM_MANIFEST" != false ]; then wget -O .repo/manifests/default.xml $REPO_CUSTOM_MANIFEST Loading Loading
Dockerfile +6 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,10 @@ ENV RELEASE_TYPE 'UNOFFICIAL' # Repo use for build ENV REPO 'https://gitlab.e.foundation/e/os/android.git' ENV LINEAGE_REPO 'https://github.com/LineageOS/android.git' # If we have a change ref for lineage like refs/changes/42/436442/31 ENV CHANGE_REF='' # Optional parameter to repo init --depth N # A size of 0 deactivates --depth N Loading Loading @@ -145,6 +149,8 @@ ENV BUILD_FLASH_PACKAGE false # specify a custom manifest URL ENV REPO_CUSTOM_MANIFEST false # Build lineage from source ENV IS_LINEAGE_BUILD false # You can optionally specify a USERSCRIPTS_DIR volume containing these scripts: # * begin.sh, run at the very beginning Loading
src/build.sh +16 −3 Original line number Diff line number Diff line Loading @@ -180,9 +180,22 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then REPO_GROUPS="" fi # Repo init branch INIT_REPO=$REPO INIT_BRANCH=${TAG_PREFIX}${BRANCH_NAME} if [ "$IS_LINEAGE_BUILD" = true ]; then INIT_REPO=$LINEAGE_REPO fi # If you have a change ref, override INIT_BRANCH if [ -n "$CHANGE_REF" ]; then INIT_BRANCH=$CHANGE_REF fi # Repo init source echo ">> [$(date)] Running: repo init $REPO_INIT_PARAM -u \"$REPO\" -b \"${TAG_PREFIX}${BRANCH_NAME}\" $REPO_GROUPS" yes | repo init $REPO_INIT_PARAM -u "$REPO" -b "${TAG_PREFIX}${BRANCH_NAME}" $REPO_GROUPS echo ">> [$(date)] Running: repo init $REPO_INIT_PARAM -u \"$INIT_REPO\" -b \"${INIT_BRANCH}\" $REPO_GROUPS" yes | repo init $REPO_INIT_PARAM -u "$INIT_REPO" -b "${INIT_BRANCH}" $REPO_GROUPS if [ "$REPO_CUSTOM_MANIFEST" != false ]; then wget -O .repo/manifests/default.xml $REPO_CUSTOM_MANIFEST Loading