Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Raise upstream issue about quill & quill_pad recovery image size #706

Open
petefoth opened this issue Nov 23, 2024 · 0 comments
Open

Raise upstream issue about quill & quill_pad recovery image size #706

petefoth opened this issue Nov 23, 2024 · 0 comments

Comments

@petefoth
Copy link
Contributor

Last two builds (September #683 & November #702) failed with the same error)

recovery.img too large. I remember this happening in September: see this comment. Upstream chages will be needed before these devices build

Changes will be needed upstream before these will build

[ 99% 171476/171947] Target vendor fs image: out/target/product/quill/vendor.img (priority: 7)
FAILED: out/target/product/quill/vendor.img
/bin/bash -c "(mkdir -p out/target/product/quill/vendor ) && (mkdir -p out/target/product/quill/obj/PACKAGING/vendor_intermediates && rm -rf out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"vendor_fs_type=ext4\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"vendor_size=536870912\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"vendor_disable_sparse=true\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"vendor_selinux_fc=out/target/product/quill/obj/ETC/file_contexts.bin_intermediates/file_contexts.bin\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"building_vendor_image=true\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"ext_mkuserimg=mkuserimg_mke2fs\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"fs_type=ext4\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"extfs_sparse_flag=-s\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"erofs_sparse_flag=-s\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"squashfs_sparse_flag=-s\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"f2fs_sparse_flag=-S\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"avb_avbtool=avbtool\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"avb_vendor_hashtree_enable=true\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"avb_vendor_add_hashtree_footer_args=--prop com.android.build.vendor.os_version:14 --prop com.android.build.vendor.fingerprint:\$(cat out/target/product/quill/build_fingerprint.txt) --prop com.android.build.vendor.security_patch:2022-04-05 --rollback_index 0\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"avb_vendor_key_path=external/avb/test/data/testkey_rsa4096.pem\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"avb_vendor_algorithm=SHA256_RSA4096\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"avb_vendor_rollback_index_location=5\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"root_dir=out/target/product/quill/root\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (echo \"skip_fsck=true\" >>  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (sort -o  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt  out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt ) && (PATH=out/host/linux-x86/bin/:system/extras/ext4_utils/:\$PATH out/host/linux-x86/bin/build_image --input-directory-filter-file out/target/product/quill/obj/PACKAGING/vendor_intermediates/file_list.txt out/target/product/quill/vendor out/target/product/quill/obj/PACKAGING/vendor_intermediates/vendor_image_info.txt out/target/product/quill/vendor.img out/target/product/quill/system ) && (size=\$(for i in out/target/product/quill/vendor.img out/target/product/quill/recovery.img; do stat -c \"%s\" \"\$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"out/target/product/quill/vendor.img out/target/product/quill/recovery.img\" | tr \" \" +); maxsize=\$((536870912)); if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > \$maxsize)\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi )"
error: out/target/product/quill/vendor.img+out/target/product/quill/recovery.img too large (602931200 > 536870912)
18:56:26 ninja failed with: exit status 1
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant