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

Commit d1459775 authored by Jackeagle's avatar Jackeagle
Browse files

build.sh: Re-introduce BUILD_SUPER_IMAGE flag

parent 45bdbb1d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -379,6 +379,14 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then
          build_success=true
        fi
      fi
    elif [ "$android_version_major" -lt "12" ]; then
      if [ "${BUILD_SUPER_IMAGE}" = true ]; then
        if breakfast_device && mka bacon superimage; then
          build_success=true
        fi
      elif brunch "${DEVICE}" "${BUILD_TYPE}"; then
        build_success=true
      fi
    elif breakfast_device; then
      # Apply patch for vendor prebuilt devices.
      if [ "${DEVICE}" = "one" ] || [ "${DEVICE}" = "two" ]; then