|
|
|
@ -1090,8 +1090,7 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
|
|
|
|
|
int with_boot_image= 0, with_cat_path= 0, with_emul_toc= 0;
|
|
|
|
|
int old_root_md5= 1, old_root_dev= 0, old_root_ino= 1;
|
|
|
|
|
int *weight_list= NULL, weight_count= 0;
|
|
|
|
|
int *delay_opt_list= NULL, delay_opt_count= 0, bin_count;
|
|
|
|
|
uint8_t sn[8];
|
|
|
|
|
int *delay_opt_list= NULL, delay_opt_count= 0;
|
|
|
|
|
char *sfe= NULL, *adr= NULL, ra_text[80], *pathspec= NULL;
|
|
|
|
|
char *ept, *add_pt, *eff_path= NULL, *indev= NULL, msc[80], *cpt;
|
|
|
|
|
char *old_root= NULL, *argpt, *hargv[1];
|
|
|
|
@ -1533,16 +1532,10 @@ illegal_c:;
|
|
|
|
|
if(i+1>=argc)
|
|
|
|
|
goto not_enough_args;
|
|
|
|
|
i++;
|
|
|
|
|
ret= Hex_to_bin(argv[i], 8, &bin_count, (unsigned char *) sn, 0);
|
|
|
|
|
if(ret <= 0 || bin_count != 8) {
|
|
|
|
|
sprintf(xorriso->info_text,
|
|
|
|
|
"-as %s %s : Malformed hex string. Expected 16 characters [0-9a-fA-F]",
|
|
|
|
|
whom, argv[i - 1]);
|
|
|
|
|
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
|
|
|
|
|
ret= 0; goto ex;
|
|
|
|
|
} else {
|
|
|
|
|
memcpy(xorriso->hfsp_serial_number, sn, 8);
|
|
|
|
|
}
|
|
|
|
|
sprintf(pathspec, "hfsplus_serial=%.80s", argv[i]);
|
|
|
|
|
ret= Xorriso_option_boot_image(xorriso, "any", pathspec, 0);
|
|
|
|
|
if(ret <= 0)
|
|
|
|
|
goto problem_handler_2;
|
|
|
|
|
} else if(strcmp(argpt, "-graft-points")==0) {
|
|
|
|
|
xorriso->allow_graft_points= 1;
|
|
|
|
|
} else if(strcmp(argpt, "-path-list")==0 ||
|
|
|
|
|