Improved handling of hidden boot images in -boot_image cmd/as_mkisofs/replay
This commit is contained in:
@ -196,6 +196,8 @@ ex:;
|
||||
}
|
||||
|
||||
|
||||
/* @param flag bit0=do not complain about non existent node
|
||||
*/
|
||||
int Xorriso_get_node_by_path(struct XorrisO *xorriso,
|
||||
char *in_path, char *eff_path,
|
||||
IsoNode **node, int flag)
|
||||
@ -206,7 +208,8 @@ int Xorriso_get_node_by_path(struct XorrisO *xorriso,
|
||||
|
||||
Xorriso_alloc_meM(path, char, SfileadrL);
|
||||
|
||||
ret= Xorriso_normalize_img_path(xorriso, xorriso->wdi, in_path, path, 0);
|
||||
ret= Xorriso_normalize_img_path(xorriso, xorriso->wdi, in_path, path,
|
||||
flag & 1);
|
||||
if(ret<=0)
|
||||
goto ex;
|
||||
if(eff_path!=NULL)
|
||||
@ -214,7 +217,7 @@ int Xorriso_get_node_by_path(struct XorrisO *xorriso,
|
||||
ret= Xorriso_get_volume(xorriso, &volume, 0);
|
||||
if(ret<=0)
|
||||
goto ex;
|
||||
ret= Xorriso_node_from_path(xorriso, volume, path, node, 0);
|
||||
ret= Xorriso_node_from_path(xorriso, volume, path, node, flag & 1);
|
||||
if(ret<=0)
|
||||
{ret= 0; goto ex;}
|
||||
ret= 1;
|
||||
|
Reference in New Issue
Block a user