You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -918,6 +918,7 @@ int repack_bootimg(const char *orig_boot_path,
918
918
avb.data_size2=XXH_swap32(avb_size);
919
919
}
920
920
if (rest_data_size>total_size-page_size-new_k_total_aligned){
921
+
total_size=ALIGN(page_size+new_k_total_aligned+rest_data_size, page_size); // when rest data is larger than original, we need to expand the total size to fit it
0 commit comments