diff --git a/src/build.sh b/src/build.sh index c5fbe79938687f0b05e4865625f64263e24c9477..dcdf49204f576833854bc8501c1d438f2c4962cb 100755 --- a/src/build.sh +++ b/src/build.sh @@ -281,9 +281,9 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then # Move produced ZIP files to the main OUT directory echo ">> [$(date)] Moving build artifacts for ${DEVICE} to '$ZIP_DIR/$zipsubdir'" cd "${OUT}" || return 1 - for build in $(ls e-*.zip IMG-e*.zip); do + for build in $(ls e-*.zip); do sha256sum "$build" > "$ZIP_DIR/$zipsubdir/$build.sha256sum" - find . -maxdepth 1 \( -name 'e-*.zip*' -o -name 'IMG-e*.zip*' \) -type f -exec mv {} "$ZIP_DIR/$zipsubdir/" \; + find . -maxdepth 1 \( -name 'e-*.zip*' -o -name 'IMG-e*.zip*' -o -name 'QFIL-e*.zip*' \) -type f -exec mv {} "$ZIP_DIR/$zipsubdir/" \; SKIP_DYNAMIC_IMAGES="odm.img product.img system.img system_ext.img vendor.img" if [ "$BACKUP_IMG" = true ]; then @@ -317,15 +317,6 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then md5sum "IMG-$build" > "IMG-$build.md5sum" cd "${OUT}" || return 1 fi - if [ "$EDL_RAW_SUPER_IMAGE" = true ]; then - echo "Unsparsing super image" - simg2img super.img super.raw.img || return 1 - find . -maxdepth 1 -name '*.img' -type f ! -name super.img $(printf "! -name %s " $(echo "$SKIP_DYNAMIC_IMAGES")) -exec zip "$ZIP_DIR/$zipsubdir/EDL-$build" {} \; - cd "$ZIP_DIR/$zipsubdir" || return 1 - sha256sum "EDL-$build" > "EDL-$build.sha256sum" - md5sum "EDL-$build" > "EDL-$build.md5sum" - cd "${OUT}" || return 1 - fi if [ "$RECOVERY_IMG" = true ]; then