New -as mkisofs options -isohybrid-gpt-basdat, -isohybrid-gpt-hfsplus, -isohybrid-apm-hfsplus

This commit is contained in:
2012-06-20 19:06:26 +00:00
parent e0845c9afa
commit 50cdd0ac0e
9 changed files with 168 additions and 63 deletions

View File

@ -378,7 +378,7 @@ int Xorriso_boot_item_status(struct XorrisO *xorriso, char *cat_path,
"/boot/isolinux/boot.cat") == 0)
strcpy(bspec, "dir=/boot/isolinux");
memset(zeros, 0, 28);
if(bspec[0] && platform_id == 0 && patch_isolinux &&
if(bspec[0] && platform_id == 0 && (patch_isolinux & 3) &&
load_size == 2048 && is_default_id && emul == 0) {
sprintf(line, "-boot_image isolinux %s\n", bspec);
Xorriso_status_result(xorriso,filter,fp,flag&2);
@ -390,7 +390,7 @@ int Xorriso_boot_item_status(struct XorrisO *xorriso, char *cat_path,
if(ret == 0)
file_size= ((stbuf.st_size / (off_t) 512) +
!!(stbuf.st_size % (off_t) 512)) * 512;
if(platform_id == 0xef && !patch_isolinux &&
if(platform_id == 0xef && !(patch_isolinux & 3) &&
load_size == file_size && is_default_id && emul == 0) {
sprintf(line, "-boot_image any efi_path=");
Text_shellsafe(bin_path, line, 1);