Skip to content

Commit b09e995

Browse files
iavclaude
andcommitted
extensions: image-output-abl: remove redundant cat before recovery image build
The cat command creating Image.gz-${dtb_name} (where dtb_name holds the last loop value) was unnecessary: Image.gz-${ABL_DTB_LIST[0]} is already created by the for loop, and mkbootimg for the recovery image uses exactly that file. Fix per #9401 (comment) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 39f7f37 commit b09e995

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

extensions/image-output-abl.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ function post_build_image__900_convert_to_abl_img() {
5656
-o "${DESTIMG}/${version}.boot_${dtb_name}.img"
5757
done
5858
display_alert "Creatng abl kernel boot recovery image with dtb ${ABL_DTB_LIST[0]}" "${EXTENSION}" "info"
59-
cat "${DESTIMG}/Image.gz" "${new_rootfs_image_mount_dir}"/usr/lib/linux-image-*/qcom/"${dtb_name}.dtb" > "${DESTIMG}/Image.gz-${dtb_name}"
6059
/usr/bin/mkbootimg \
6160
--kernel "${DESTIMG}/Image.gz-${ABL_DTB_LIST[0]}" \
6261
--ramdisk "${new_rootfs_image_mount_dir}"/boot/initrd.img-*-* \

0 commit comments

Comments
 (0)