From ea947632d1d7530162999be2f4c3b4b9b0ac3a6b Mon Sep 17 00:00:00 2001 From: Alexandre Roux Date: Mon, 23 Nov 2020 09:37:35 +0000 Subject: [PATCH] Include intermediate system.img in IMG- zip instead of SYSTEM- zip --- src/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/build.sh b/src/build.sh index de42948..3bf8d7a 100755 --- a/src/build.sh +++ b/src/build.sh @@ -224,10 +224,10 @@ if [ -n "${BRANCH_NAME}" ] && [ -n "${DEVICE}" ]; then fi if [ "$BACKUP_INTERMEDIATE_SYSTEM_IMG" = true ]; then mv obj/PACKAGING/target_files_intermediates/lineage*/IMAGES/system.img ./ - zip "$ZIP_DIR/$zipsubdir/SYSTEM-$build" system.img + zip "$ZIP_DIR/$zipsubdir/IMG-$build" system.img cd $ZIP_DIR/$zipsubdir - sha256sum "SYSTEM-$build" > "SYSTEM-$build.sha256sum" - md5sum "SYSTEM-$build" > "SYSTEM-$build.md5sum" + sha256sum "IMG-$build" > "IMG-$build.sha256sum" + md5sum "IMG-$build" > "IMG-$build.md5sum" fi if [ "$RECOVERY_IMG" = true ]; then -- GitLab