|
|
|
@ -733,10 +733,15 @@ no_boot:;
|
|
|
|
|
if(ret != 1)
|
|
|
|
|
goto no_boot;
|
|
|
|
|
|
|
|
|
|
ret= Xorriso_path_from_lba(xorriso, NULL, xorriso->loaded_boot_bin_lba,
|
|
|
|
|
path, 1);
|
|
|
|
|
if(ret > 0)
|
|
|
|
|
bin_path_valid= 1;
|
|
|
|
|
ret= iso_image_get_all_boot_imgs(image, &num_boots, &boots, &bootnodes, 0);
|
|
|
|
|
Xorriso_process_msg_queues(xorriso,0);
|
|
|
|
|
if(ret != 1) {
|
|
|
|
|
num_boots= 0;
|
|
|
|
|
} else {
|
|
|
|
|
ret= Xorriso_path_from_node(xorriso, (IsoNode *) bootnodes[0], path, 0);
|
|
|
|
|
if(ret > 0)
|
|
|
|
|
bin_path_valid= 1;
|
|
|
|
|
}
|
|
|
|
|
sprintf(respt, "Boot record : El Torito");
|
|
|
|
|
if(bin_path_valid)
|
|
|
|
|
ret= Xorriso_is_isohybrid(xorriso, bootimg_node, 0);
|
|
|
|
@ -795,9 +800,7 @@ no_boot:;
|
|
|
|
|
strcat(respt, "\n");
|
|
|
|
|
Xorriso_toc_line(xorriso, flag & 8);
|
|
|
|
|
|
|
|
|
|
ret= iso_image_get_all_boot_imgs(image, &num_boots, &boots, &bootnodes, 0);
|
|
|
|
|
Xorriso_process_msg_queues(xorriso,0);
|
|
|
|
|
if(ret == 1 && num_boots > 1) {
|
|
|
|
|
if(num_boots > 1) {
|
|
|
|
|
for(i= 1; i < num_boots; i++) {
|
|
|
|
|
ret= Xorriso_path_from_node(xorriso, (IsoNode *) bootnodes[i], path, 0);
|
|
|
|
|
if(ret > 0)
|
|
|
|
|