Improved handling of hidden boot images in -boot_image cmd/as_mkisofs/replay
This commit is contained in:
@ -1007,24 +1007,25 @@ int Xorriso_set_data_cache(struct XorrisO *xorriso, void *o,
|
||||
}
|
||||
|
||||
|
||||
/* @param flag bit0= issue hex string rather than structured text format
|
||||
*/
|
||||
int Xorriso_format_guid(struct XorrisO *xorriso, uint8_t guid[16], char *line,
|
||||
int flag)
|
||||
{
|
||||
|
||||
/* >>> Maybe let the user switch between hex string and structured text */;
|
||||
|
||||
Xorriso__format_guid(guid, line, 1);
|
||||
Xorriso__format_guid(guid, line, !(flag & 1));
|
||||
return(1);
|
||||
}
|
||||
|
||||
|
||||
/* @param flag bit0= issue hex string rather than structured text format
|
||||
*/
|
||||
int Xorriso_make_guid(struct XorrisO *xorriso, char *line, int flag)
|
||||
{
|
||||
uint8_t guid[16];
|
||||
int ret;
|
||||
|
||||
iso_generate_gpt_guid(guid);
|
||||
ret= Xorriso_format_guid(xorriso, guid, line, 0);
|
||||
ret= Xorriso_format_guid(xorriso, guid, line, flag & 1);
|
||||
return(ret);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user