Improved interaction of -as mkisofs command with other commands

This commit is contained in:
2013-03-10 19:34:09 +00:00
parent 0d3908da8f
commit c2088a4d48
9 changed files with 116 additions and 83 deletions

View File

@ -998,11 +998,14 @@ treatment_patch:;
if(strcmp(treatpt + 10, "none") == 0 ||
strcmp(treatpt + 10, "no_emulation") == 0) {
xorriso->boot_image_emul= 0;
xorriso->boot_emul_default= 0;
} else if(strcmp(treatpt + 10, "hard_disk") == 0) {
xorriso->boot_image_emul= 1;
xorriso->boot_emul_default= 0;
} else if(strcmp(treatpt + 10, "floppy") == 0 ||
strcmp(treatpt + 10, "diskette") == 0) {
xorriso->boot_image_emul= 2;
xorriso->boot_emul_default= 0;
} else {
sprintf(xorriso->info_text,
"-boot_image %s : Unknown media_type : %s",