Improved interaction of -as mkisofs command with other commands

This commit is contained in:
2013-03-10 19:34:09 +00:00
parent 9f10debf43
commit 3f447e940f
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",