Increased default weight of El Torito boot catalog to 1 billion
This commit is contained in:
parent
5384342336
commit
a22c16d5ef
@ -537,7 +537,7 @@ int iso_image_set_boot_image(IsoImage *image, const char *image_path,
|
|||||||
for (i = 1; i < Libisofs_max_boot_imageS; i++)
|
for (i = 1; i < Libisofs_max_boot_imageS; i++)
|
||||||
catalog->bootimages[i] = NULL;
|
catalog->bootimages[i] = NULL;
|
||||||
catalog->node = cat_node;
|
catalog->node = cat_node;
|
||||||
catalog->sort_weight = 1000; /* slightly high */
|
catalog->sort_weight = 1000000000; /* very high */
|
||||||
if (!(boot_node->explicit_weight || boot_node->from_old_session))
|
if (!(boot_node->explicit_weight || boot_node->from_old_session))
|
||||||
boot_node->sort_weight = 2;
|
boot_node->sort_weight = 2;
|
||||||
iso_node_ref((IsoNode*)cat_node);
|
iso_node_ref((IsoNode*)cat_node);
|
||||||
|
Loading…
Reference in New Issue
Block a user