From 7c21b550c06f862adf0620e211151f50260b1e85 Mon Sep 17 00:00:00 2001 From: Pete Date: Tue, 19 Sep 2023 15:26:23 +0100 Subject: [PATCH] Don't copy the individual '.img' files --- src/build.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/build.sh b/src/build.sh index d436b78..bf9ca8b 100755 --- a/src/build.sh +++ b/src/build.sh @@ -386,15 +386,6 @@ for branch in ${BRANCH_NAME//,/ }; do files_to_hash+=( "$build" ) done - cd "$source_dir/out/target/product/$codename/obj/PACKAGING/target_files_intermediates/lineage_$codename-target_files-eng.root/IMAGES/" - for image in recovery boot vendor_boot dtbo super_empty vbmeta vendor_kernel_boot; do - if [ -f "$image.img" ]; then - recovery_name="lineage-$los_ver-$builddate-$RELEASE_TYPE-$codename-$image.img" - echo ">> [$(date)] Copying $image.img" to "$ZIP_DIR/$zipsubdir/$recovery_name" >> "$DEBUG_LOG" - cp "$image.img" "$ZIP_DIR/$zipsubdir/$recovery_name" &>> "$DEBUG_LOG" - files_to_hash+=( "$recovery_name" ) - fi - done cd "$ZIP_DIR/$zipsubdir" for f in "${files_to_hash[@]}"; do sha256sum "$f" > "$ZIP_DIR/$zipsubdir/$f.sha256sum"